How do I cancel a condition to enter an e mail address in the box for sending a comment?
If i delete this in /item_comments_form.php:
............................................
<label class="formEmail" for="commentEmail"><?php echo JText::_( 'E-mail' ); ?> *</label>
<input class="inputbox" type="text" name="commentEmail" id="commentEmail" value="<?php echo JText::_( 'enter your e-mail address...' ); ?>" onblur="if(this.value=='') this.value='<?php echo JText::_( 'enter your e-mail address...' ); ?>';" onfocus="if(this.value=='<?php echo JText::_( 'enter your e-mail address...' ); ?>') this.value='';" />
...........................................
box is hidden. But when I send a comment, a message displays that I have to fill out a required field.but which can not fill because they are hidden and the user sees.
thx for your help
If i delete this in /item_comments_form.php:
............................................
<label class="formEmail" for="commentEmail"><?php echo JText::_( 'E-mail' ); ?> *</label>
<input class="inputbox" type="text" name="commentEmail" id="commentEmail" value="<?php echo JText::_( 'enter your e-mail address...' ); ?>" onblur="if(this.value=='') this.value='<?php echo JText::_( 'enter your e-mail address...' ); ?>';" onfocus="if(this.value=='<?php echo JText::_( 'enter your e-mail address...' ); ?>') this.value='';" />
...........................................
box is hidden. But when I send a comment, a message displays that I have to fill out a required field.but which can not fill because they are hidden and the user sees.
thx for your help