Hi. I am showing a prototype to a client tomorrow am - I need some quick help if possible.
I have a form used for both INSERT and EDIT. I was using the onLoad event to load many of the fields with some default data, however, I just realized that the onLoad fires for both INSERT and EDIT modes for the form.
I guess I could make 2 forms, one for add and one for edit, but was wondering if I can detect the mode the form is in from the onLoad event and just make my default values conditional.
Note - User must be able to edit the default values, hence I am putting them in onLoad and not BeforeInsert…
Thanks,
Jamie