NetTalk Central

Author Topic: Validate All Embed is too late  (Read 3279 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 381
    • View Profile
    • Email
Validate All Embed is too late
« on: November 23, 2016, 07:42:25 PM »
Hi ,
Im using the "Validate All" embed to update  various data files when the SAVE is pushed on an update form
All good,  but  I want the save to be conditional.
Either its too late or I need an alternative embed  prior to the SAVE.

Im getting the loc:alert ok if a cancel condition is met, but I note that the file is already updated....
I would like  the update to close and not save depending on condition.

Given the many choices of embed points available whats recommended ?

thanks
Richard
NT 8.71

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
    • Email
Re: Validate All Embed is too late
« Reply #1 on: November 23, 2016, 09:06:44 PM »
Hallo Richard,

Where did you put the code on ValidateAll? to Start or to End? Put code to End and try again.
When you add code to embed try to open the source to see all the code above and bellow.
This way you will understand better what is there and how your code will be generated.

Robert

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11176
    • View Profile
Re: Validate All Embed is too late
« Reply #2 on: November 23, 2016, 11:06:02 PM »
Hi Richard,

perhaps duplicate the effect in one of the shipping examples, and post that here.

cheers
Bruce