I want to show result of first four characters from text field 1 + field 2 full in javascript + HTML
Here is the sample code
<form onsubmit="return false" oninput="txtFullName.value = txtFirstName.value +''+ txtLastName.value">
First name : <input type="text" name="txtFirstName" /> <br><br>
Last name : <input type="text" name="txtLastName" /> <br><br>
Full name : <input type="text" name="txtFullName" > <br><br>
</form>
but in full name i want only to display first four characters of first name + last name full
if possible in full last name space i need to show dob selection