Input field is filled but not submitted...
Validation:
http://jquery.bassistance.de/validate/demo/
Ajax/Jquery based variable from input field.
If there is Name (required, at least 2 characters)it should change content (text) with Full name like Mr. Luck Murphy.
How to do this in correct way as there is already validation Javascript:
<script type="text/javascript">
/*<![CDATA[*/
jQuery(function() {
jQuery("#myform1").validate({
rules: {
fullname: {
required: true,
},
},
messages: {
fullname: {
required: "It is requested field",
},
},
});
});
/*]]>*/
</script>
and input filed like:
<p>
<label class="mytexttitle">Full name:<em>*</em></label>
<input id="text1" name="fullname" size="50" maxlength="60" />
</p>