Question

In this question:

Ask if you are sure you want to submit? JavaScript?

The user asks if there's a way to add a "confirm y/n" to a form.. and there is, but the problem with the confirm subroutine is, if the user has javascript disabled, it is bypassed.

I'm looking to do something similar but I want to write my server-side script to expect an additional passed-parameter to indicate that the confirmation was done.. so something like y=1 passed would do it for me.. Is there a way to augment the confirm function to add a passed parameter that would work for either GET or POST inquiries and add an additional parameter if there was confirmation?

No correct solution

OTHER TIPS

<noscript>
    <input type="hidden" name="novalidate" value="true" />
</noscript>

Add inside your form. Problem solved.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top