NetTalk Central

Author Topic: Refresh whole form after button validate processed  (Read 2565 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Refresh whole form after button validate processed
« on: April 24, 2014, 03:13:47 PM »
Hi,

I have a form for a In-Memory table with many fields.   The form has a button that sets the session values of different sets of the fields depending on a previous choice.  Because there are so many fields involved, I would like to refresh the entire page rather than each individual field after the session values are processed.   I have tried different JavaScripts including JQuery in the JavaScript handcode section of the ClientSide template tab,  but these don't show up in the generated code and the OnChange script remains omitted.  Whole app regeneration didn't solve the problem.

So, what script should I use to trigger a whole form refresh and where should I put it to trigger after the button Validate has processed the session values.  Or should I just reset all the possible fields individually.

Using NT 7.39

Many thanks.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Refresh whole form after button validate processed
« Reply #1 on: April 24, 2014, 09:39:28 PM »
alas there isn't a "refreshall" routine.

As it's just the button involved, I recommend adding the fields individually to the reset list.

cheers
Bruce