Forum Post: RE: can any one help me how to assign default values to fields on submit/Save

Status
Not open for further replies.
S

Santosh Patel

Guest
Hi Sudhakar, I suppose you are setting the field to 'Read Only' in the New Page without the field having a default value set on it's properties. Ideal way would be to set the default value by Editing the field definition (be it a string, integer or picklist field). Doing so would ensure that when the record is created the default value will be set. If however, you require different values based on some condition to be set when creating the record, setting the read only field on the New page would result in the field not being part of the form submit to create the record. You would need to add a hidden field that would carry the default value. Set the hidden field with name as integration name of the field and value as applicable. Let me know if you experience any technical snag with implementing this. Regards, Santosh

Continue reading...
 
Status
Not open for further replies.
Top