Default values not working

Hi,

I am using SugarCRM version 7.5.2.3. I have set default value for a 'date' field as 'today'. But the field still shows only blank space. I have tried 'Quick repair and rebuild', cleared browser cache etc. But the issue still there. I have also tried to set default value for some other type fields, they too, didnt work. Somebody help me. Suggest some solution either through Studio or by editing php code.

Thanks in advance.

- Sudeep

Parents
  • by doing it direct on the vardefs will benefit you when comes to mobile

    Fullscreen
    1
    $dictionary["Module"]["fields"]["field"]['default'] = 'now';
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    but you might see this on mobile 

    Screenshot 2020-09-10 at 16.28.49.png

    Google Docs

    but once you click on the "x" it will remove the NAN and you will be able to see the correct current time

    Rodrigo Manara

    Sr. Developer

Reply
  • by doing it direct on the vardefs will benefit you when comes to mobile

    Fullscreen
    1
    $dictionary["Module"]["fields"]["field"]['default'] = 'now';
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    but you might see this on mobile 

    Screenshot 2020-09-10 at 16.28.49.png

    Google Docs

    but once you click on the "x" it will remove the NAN and you will be able to see the correct current time

    Rodrigo Manara

    Sr. Developer

Children
No Data