NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on April 24, 2014, 03:13:47 PM

Title: Refresh whole form after button validate processed
Post by: CaseyR 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.
Title: Re: Refresh whole form after button validate processed
Post by: Bruce 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