NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on January 25, 2012, 02:15:31 AM

Title: How to reset a form?
Post by: John Fligg on January 25, 2012, 02:15:31 AM
I have a drop down and have some server side code. Then I reset individual fields and all works great.

I also have an include field condition and want to trigger that when the drop down value is selected. The condition uses a SSV value which has been set correctly. However when I select a value from the drop down, everything works other than the fields are still included after the reset.

I think what I need is to refresh the entire form as if I fail the validation on the form, it is refreshed and the fields are then not included which is what I want to happen.

So how do I refesh a form please?

Thanks

John
Title: Re: How to reset a form?
Post by: terryd on January 25, 2012, 05:31:54 AM
John
I would think you should rather use hide which hides and unhides based on current statuses. AFAIK the includes happen at the beginning and don't change until you refresh the page.