Hi ,
I'm using Template form to add new record .
Some of the fields I want to populate without showing the values to the user while in the Add -Form.
So I have included these fields and assigned them the values , made the fields hidden .
But when I save the form the hidden fields are not included in the event that is been saved / created.
How can I add these fields .
Hidden fields are not submitted. You should handle the submit event of the TemplateForm and assign the required model via Object.assign as shown here: Update hidden textbox value on SQL Form - #2 by enchev
1 Like
Thanx,
Searched the forum on template form but did not come across this one.