Welcome Guest, Not a member yet? Register   Sign In
Password Hint is Submitting with Form Submit
#5

[eluser]CroNiX[/eluser]
Why the objection to using jQuery to remove them since that's also how you said you're setting them? This isn't separating the validation. It's only sending data that SHOULD be validated and not sending your "hints" and it would all be done in the same place, which would be more efficient than having to track them in the JS and ALSO in the (PHP) validation. It would only be undoing what you had it do originally if the value is the same as the hint.

Or you could also just use a jQuery placeholder script to add the functionality for older browsers, which seems easiest:
https://github.com/andrewrjones/jquery-p...der-plugin


Messages In This Thread
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 11:54 AM
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 12:20 PM
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 12:32 PM
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 12:43 PM
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 01:08 PM
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 01:50 PM
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 02:22 PM
Password Hint is Submitting with Form Submit - by El Forum - 10-31-2012, 10:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB