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>

Recommended Answers

All 2 Replies

Is this something that people can use or a problem?

Issue is how to show soon as possible it is filled name on the same website using Ajax.

Please check name="fullname". When this variable has value it should show inside website (echo). I'm new to this issue.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.