Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Form values sent only after validation

5:16 pm on Feb 6, 2014 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Oct 25, 2006
posts: 1043
votes: 0

I guess code like:
submitHandler: function(form) {
jQuery(function() {

above validation will prevent sending form values if form is submitted and validation TRUE and confirmed message is shown on separate page. If user refreshes browser on this page it will not be sent form values unless browser message is clicked to confirm that form values will be resended

Is this correct script and ID's like .myform1 is not mentioned inside function(form)...
Need help.

I have seen some sample:
debug: false,
rules: {
messages: {
submitHandler: function(form) {
var result;

$.post('test.php', $('#signin_form').serialize(), function(data){
result = $.parseJSON(data);

if (result.flag == 'false'){
if (result.flag == 'true'){

}, 'json');


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members