Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Several submit buttons in HTML page
Message
 
 
To
03/06/2015 15:19:18
General information
Forum:
HTML5
Category:
HTML
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01620499
Message ID:
01620610
Views:
41
>Actually, it seems to be something like navigate('REZ://...

No, it is this
<FORM METHOD="post" ACTION="rez://ADDITEM" ID="frmAddItem" NAME="frmAddItem">
and the button is of type submit.

So, somehow all the form's values are added to the string being posted. May be there is a different way. Say, instead of the action somehow send a hidden input? E.g. I can add some extra functionality to set some extra hidden input to be btnRemoveOverdue. My code just checks for the 'btnRemoveOverdue' to be inside the string.

I'll try this idea now instead of altering the action.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform