Hello,
I have 3 'different' custom fields that display in my product.
I am using this code in my custom product template
<!--inserted this for multiple field-->
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type=hidden
id="[-- PRODUCT.RecordNumber --]:freeopt" value="First_Name ">First Name<br>
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="" size="25"><br>
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type=hidden
id="[-- PRODUCT.RecordNumber --]:freeopt" value="Last_Name ">Last Name<br>
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="" size="25"><br>
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type=hidden
id="[-- PRODUCT.RecordNumber --]:freeopt" value="Email ">Email<br>
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="" size="50"><br>
I know that in the checkout page all of them are displayed as 1 big field separated by a comma. I don't have a problem with it. However, I do need to make these fields not only required, but also to have a maximum length equal to their size: names= 25 and email= 50. Furthermore, I need to validate the email and make sure is in correct format like "justme@aol.com"
Can this be possible in ShopSite's custom templates or pages?
Thanks!