NetTalk Central

Author Topic: Button save  (Read 3529 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Button save
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Button save
« Reply #1 on: November 13, 2014, 04:15:20 AM »
PostInsert / PostUpdate routines in form.

cheers
Bruce

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Re: Button save
« Reply #2 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
Brian

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Re: Button save
« Reply #3 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.
Brian