Get the field value
Get the field value
Hi all,
Am using jquery.validationEngine.js plugin to validate my form and form is submited fine with every validation. What i need is, i have an field 'enter_name' in the form and need to show this field value in ajaxSubmitMessage area after submit the form.
Here my code: [see the text with red color, i want to show the imputed field value in form
- <script type="text/javascript" lang="javascript">
/* Short Contact */
$(document).ready(function() {
// SUCCESS AJAX CALL, replace "success: false," by: success : function() { callSuccessFunction() },
$("#formID").validationEngine({
ajaxSubmit: true,
ajaxSubmitFile: "apply.php",
ajaxSubmitMessage: "Dear #enter_name,<bR><br>We appreciate your interest ",
success : false,
failure : function() {}
})
});
</script>
- <form id="formID" class="formular" method="post" action="" enctype="multipart/form-data">
<label>
<span>Your Name : </span>
<input value="aaaa" class="validate[required,custom[onlyLetter],length[0,100]] text-input" type="text" name="enter_name" id="enter_name" size="20"/>
</label>
<label>
<span>Email Address : </span>
<input value="" class="validate[required,custom[email]] text-input" type="text" name="email" id="email" size="20"/>
</label>
- </form>
How i can do.....?