how to add default value for string field using dictionary default value tab?

shabbir5
Tera Guru

Hi All,

 

i created a custom field , and the same is student name 

 

and i opened the same field using --> configure dictionary 

 

then in the default value tab i addded my name " Shabbir "

 

tthis is not working , how to add default value for string field using dictionary?

 

Thank you,

Shabbir Shaik

1 ACCEPTED SOLUTION

Juhi Poddar
Kilo Patron

Hello @shabbir5 

  • The default value set in the dictionary applies only to new records created after this configuration.
  • If the default value is not applying, check if there are any Client Scripts, Business Rules, or UI Policies on the table that might be resetting or overriding the field value.

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

View solution in original post

3 REPLIES 3

Utpal Dutta
Tera Guru

Hi Shabir,

This should work. If it is not working, can you check if you have a UI policy or a client script written on "Student name" field?

If a UI Policy Action is setup for that field then please validate if Clear value checkbox is unchecked. Also do check if any client script is written then please check if it is clearing the value using (g_form.clearValue('u_student_name');

 

Thanks,

Utpal

Sandeep Rajput
Tera Patron
Tera Patron

@shabbir5 How are you checking the default value? The default value will get populated on a new record and not on an existing record.

Juhi Poddar
Kilo Patron

Hello @shabbir5 

  • The default value set in the dictionary applies only to new records created after this configuration.
  • If the default value is not applying, check if there are any Client Scripts, Business Rules, or UI Policies on the table that might be resetting or overriding the field value.

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar