koushikgattu Posted January 11, 2008 Share Posted January 11, 2008 Posts: 8 View Profile Email javascript form validation help « on: Today at 03:55:50 PM » Reply with quoteQuote Modify messageModify Hi, Is there any way that i could copy the one text box value into multiple text boxes(but part of the value) Lets say, i i have one text box for date (format mm/dd/yy) <input name="completedate" value="" type="text"> I want that value of the text box to be pasted on to three different text boxes.(mm in one textbox...date one text box and year in one text box) <form name="submitdate" method="post" id="submitdateForm" action="" > <input name="completedate" value="" type="text"> <input name="date" value="" type="text"> <input name="month" value="" type="text"> <input name="year" value="" type="text"> </form> To hide these three text boxes from display..i can put type="hidden". Can any one please help me with this? thanks Quote Link to comment https://forums.phpfreaks.com/topic/85601-form-questionplease-help/ Share on other sites More sharing options...
Ken2k7 Posted January 11, 2008 Share Posted January 11, 2008 You need JavaScript Wrong section. Quote Link to comment https://forums.phpfreaks.com/topic/85601-form-questionplease-help/#findComment-436855 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.