NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on May 04, 2017, 11:52:34 PM
-
Hi Guys,
I'd like a NetWebForm (memory) to select a specific tab, once the user clicks the "Ok" button.
I get this to work by including an empty "required" field on the tab, but I don't want this field to be visible on the tab.
Unfortunately when I hide the field, it now longer enforces the "required" attribute.
Any ideas perhaps?
-
Hi Rupert,
I think you're describing a solution, but not the root problem.
I think you're suggesting that clicking on the OK button does not "close" the form, but instead just switches to another tab?
Can you explain more of why you would have this sort of behavior? ie what is the root problem you are trying to solve?
cheers
Bruce
-
Hi Bruce,
When the user clicks "OK" I'd like the memory form to select a specific tab, and not close the window.
To solve the issue, I tried inserting a field on the desired tab, with a required attribute. Now when the user clicks "OK" it selects the correct tab. This is working well!
Problem is, I'd like to do this without showing the "empty field" marked as required, which I inserted on purpose.
-
Hi Rupert,
you are describing your solution.
I'm interested in _why_ you want to do this in the first place.
cheers
Bruce
-
Hi Bruce,
I am using a memory form to filter & show results.
This is working well.
Thus when the user clicks 'OK', I would like the form to select the tab where the results are displayed.
It should not close the form.
There are 3 tabs,
1. Range by Date
2. Filter by criteria
3. Show results
I've now put the same procedure name in the "URL on Save" of the form. Thus when the user clicks "OK" it loads the same form, but it is not yet selecting the desired tab.
First price would be, when the user clicks "OK" it show go to the results tab - every time.