![]() |
how to remove 'required' fields in the contact form?
I've tried and tried, but I think i'm missing something.
Tips would be welcome! Thanks, Guy |
include/help.php:
Code:
$fillerror = (empty($contact["firstname"]) || empty($contact["lastname"]) || empty($contact["b_address"]) || empty($contact["b_city"]) || empty($contact["b_country"]) || empty($contact["b_zipcode"]) || empty($contact["phone"]) || empty($contact["email"]) || empty($contact["subject"]) || empty($contact["body"])); ;) |
Ok! That works cool... but now...
Now there seems to be another thing:
I left 3 fields mandatory, but now, when i only fill in 2 of the 3, I get the form with red << on the right hand side of all the boxes... and I only want them next to the boxes that I've made mandatory. Can you help further? Thanks, Guy |
post the code and ill fix it
|
I've got V3.3.5 and removing those fields didn't seem to do anything, Boomer..?
I'd like to have the Contact form not so strict too: just first name, last name, email, subject, body. |
I have been trying to do this all day!!!
It works now though.
Cheers! 8) |
All times are GMT -8. The time now is 02:25 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.