This content has been marked as final. Show 6 replies
If I put a cfinput submit button right next to the hidden icon, that properly keeps the checked items on the action page.
Rick - Perhaps try adding the name of the form to the submit
document.yourformname.submit didn't work.
But then discovered that the href value needs to be empty (or "#") to work. This code works: (rollover images with the submit() code):
When, in DW, you add the rollover image, you need to leave the href value empty. I suppose that lets the submit button use the <cfform action...> value as the results page, letting the form values pass to the results page.
Now, the next step is to have two different rollover images with submits() that point to two different result pages, while still using one cfform. (Two submits in one form, each submit pointing to a different results page.)
Rick - I would use a hidden field to do that.
Thanks for the reply, Kevin.
<.a href ... onclick="input type='hidden' name='deletebutton' value='yes';submit() >
...but that didn't work. So, how do I stack the commands (and did I screw up on the syntax)?