NetTalk Central

Author Topic: How to reset a form?  (Read 3771 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
How to reset a form?
« 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

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: How to reset a form?
« Reply #1 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.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186