NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on November 13, 2014, 01:10:39 AM

Title: Button save
Post by: Djordje Radovanovic on November 13, 2014, 01:10:39 AM
I have simple NetWebForm procedure with only Save and Cancel button. I want to perform some task on Save and not to perform tast on Cancel button. Both answer have same destination 'IndexPage'.

Where to put my embed code to perform desired task?

Best regards,

Djordje Radovanovic
Title: Re: Button save
Post by: Bruce on November 13, 2014, 04:15:20 AM
PostInsert / PostUpdate routines in form.

cheers
Bruce
Title: Re: Button save
Post by: broche on January 08, 2015, 12:52:56 PM
Hi Bruce,
I want to use the embeds (postupdate) mentioned above to save a create child record depending on some fields in the form.
I put a Loc:alert in the embed to see what happens.  As soon as the form pops up/opens it triggers the alert.  Is this expected and should I just ignore this?  Also should I be using GSV to look at the variable on the form?

Thanks,
Have a great 2015.
Brian
Title: Re: Button save
Post by: broche on January 08, 2015, 12:58:07 PM
Ignore lats post please - I had the darn alert in a couple of places.  It works just fine.
Sorry

Brian.