Jump to content

Form question...please help


koushikgattu

Recommended Posts

 

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

Link to comment
https://forums.phpfreaks.com/topic/85601-form-questionplease-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.