We help IT Professionals succeed at work.

concatenation not working

123dec45
123dec45 asked
on
191 Views
Last Modified: 2010-04-25
I know its staring me in the face  but I have a pice of code in  ASP form, shortened version below.
I collect various info but I want to collect a end month and year from 2 fields in a form and pass this as 1 string to a db when the form is submitted, i added a hidden field and set the values to the 2 fields.everything else works, but not this, any ideas please ?
thanks
 
<td>End Date mm/yy</td>
          <td><input name="End_date1" type="text" id="End_date1" TABINDEX= 14 size="2" maxlength="2"/>
            /
            <input name="End_date1" type="text" id="End_date1" size="2" maxlength="2" />
            <input name="End_Date" type="hidden" id="End_Date" value= End_date1 + End_Date2 /></td>
Comment
Watch Question

CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Hmm I should read the manual me thinks !

I thought you could concatenate at page level, that explains why its not working.

Thanks for the help
br
gary
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.