Forums

mandatory field validation

tokenring 23 Sep, 2012
Hey guys!

I have a form that I think has validation running on checking for mandatory fields but it seems to not be triggering.

This is what I did to check.

HTML code:
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Your name:</label>
<input class="cf_inputbox required" maxlength="150" size="30" id="name" name="name1" type="text" value=""/>
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Your name: :: How you want us to address you.</div>
</div>
<div class="clear"> </div>
</div>


component options:
Validation = YES
Run Validation onlyOnBlur = YES
1 - required (not blank) = name1

Is there something else that I am missing?


Thanks,
Aaron
GreyHead 23 Sep, 2012
Hi Aaron,

The most likely answer is that there is a JavaScript conflict on the page.

Bob
tokenring 10 Oct, 2012
Thanks Bob! I'll look into this tonight.

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