Forums

Required Validation work with only field...

gg4j 02 Nov, 2007
Validation work with only field...
Here's code, and screenshot.
Validation actually work only for the first one:
if I try to send it with smtg but other empty,
form simply ignore validation for them.


<textarea cols="30" name="ingredienti"
 style="height: 63px; width: 612px;" rows="3"></textarea>
<textarea cols="30" name="preparazione"
 style="height: 63px; width: 612px;" rows="3"></textarea>
<input name="origine" size="40">
<input value="Invia" name="Submit" type="submit">
<input value="Cancella" name="reset" type="reset">



Post edited by: gg4j, at: 2007/11/02 18:18
Sorry I posted twice, cause I wasnt able anymore to attach scrshot!😛
<br><br>Post edited by: gg4j, at: 2007/11/02 18:24
GreyHead 02 Nov, 2007
Hi gg4j,

Try without the spaces between the fieldnames ingridienti,preparatzione,origine

Also the break tags shouldn't be there??

Bob
gg4j 04 Nov, 2007
:laugh:
It was easy!

Also the break tags shouldn't be there??
I didnt understand what you mean here, but it works!
It was just space after comma!

Thank a lot Bob!
GreyHead 04 Nov, 2007
Hi gg4j,

In the picture below there are <br /> tags in each field on the validation tab.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount

{item:title} {images:#}