Set default values of field not in add form

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mgqz
User
Posts: 88

Set default values of field not in add form

Post by mgqz »

I have some fields that in some point i dont need in a form but are required to the database.

I set a default value but that value is not send to the database if the filed is not included in the add form, what is the correct way to set database values from within the application for this case that the values are not in the input forms ?

thanks


mobhar
User
Posts: 11736

Post by mobhar »

You should keep it always included in "Add" form. If you don't want to show it in the Add form, then simply choose "HIDDEN" from "Edit Tag" pane of "Fields" setup.


Post Reply