Contact form required fields

On the contact form all fields are required to be filled in, Is there a way to make some fields optional?

Maybe, required fields for registration form can be set in admin. Let me check if it is possible for contact form as well.

nope - you need to edit the template and get rid of

class="js-oxValidate js-oxValidate_notEmpty"

on every field you do not want to have as required

\application\views\azure pl\form\contact.tpl

[QUOTE=Hebsacker;122484]nope - you need to edit the template and get rid of

class="js-oxValidate js-oxValidate_notEmpty"

on every field you do not want to have as required

\application\views\azure pl\form\contact.tpl[/QUOTE]

sorry forgot to mention that I am using oxid version 4.1.6_22740

ah, ok - well, they are marked in frontend with a * as required, you can get rid of that by taking those out of the template \out\basic pl\contact.tpl

<span class="req">*</span>

I´m not sure if there was an additional check, if a field was not filled.

[QUOTE=Hebsacker;122486]ah, ok - well, they are marked in frontend with a * as required, you can get rid of that by taking those out of the template \out\basic pl\contact.tpl

<span class="req">*</span>

I´m not sure if there was an additional check, if a field was not filled.[/QUOTE]

editing tpl file removes only the html element, but the requirement still remains, I think what needs to be edited is views/contact.php file, but I do not know php programing, can you please advise what needs to be changed on php file in order to remove required field function

sorry - can´t help you out, as I am not a programmer :slight_smile: