News:

Support the VirtueMart project and become a member

Main Menu

Ask question POPUP. Not required fields email & ask_comment

Started by Piombo, February 11, 2015, 10:41:22 AM

Previous topic - Next topic

Piombo

Hello!
VM 2.6.10 J2.5.24

How to make the form fields (email & ask_comment) are not required?

File form.php: if I remove "required"


<input type="text" class="validate[required,custom[email]]" value="<?php // echo $this->user->email ? $this->user->email : $askQuestionData['email'] ?>" name="email" id="email" size="30"  validation="email"/>


it's ok, but mail stopped coming :( The same thing with the field "ask_comment"

Thanks!

PS. And yes, I know about a new version VM