Code: Select all
nuForm('6025b999ee999dd', '', '', '', '0');
How can I bypass this browse form and open the form "6025b999ee999dd" in Edit mode for a new record? Im assuming I'd use the nuForm() function, but the description on https://wiki.nubuilder.cloud/ ... ipt#nuForm isn't real clear on what the second option should be. How do I get the "record id of the Edit Form " for a new blank record?
ALSO, Normally when this form opens in Edit Mode (when the user clicks a record that is listed on the browse screen), I run this: nuDisableAllObjects(); to prevent the user from accidentally editing fields on a record. They have to click an "Edit" button to enable all the objects on the screen. How can I test for if this is a new record that was opened from the launch form or the user pressed the "Add" button on the browse form? So in the event the user wants to add a new record, they don't have to press the "Edit" button to enable all the fields?