Hi Guys,
Tried reserching this in google, but had not much joy. I am trying to us JavaScript to join two input fields together then submit the form.
here is my form
<form name="form" method="post" id="form1" class="competition" action="url">
<label for="accNum">F Name</label><br />
<input type="text" name="fname" /><br />
<label for="accNum">Account Number</label><br />
<input type="hidden" name="AccNum_DATATYPE" value="text" /><input type="text" name="AccNum" value="" maxlength="2" id="accNum" class="req-string" style="width: 15px;" />
<input type="hidden" name="AccNum_DATATYPE" value="text" /><input type="text" name="AccNum" value="" maxlength="2" id="accNum" class="req-string" style="width: 15px;" /><br />
<input name="" id="submit" type="image" src="" class="submit" onClick="f_validateForm();return false;" />
</div>
</form>
it’s only the AccNum fields which are individual fields in the form which need to produce a joint string which can then be posted with the form. any ideas on how i can get this working please?