I had a problem using php in my mail template and got the advice to switch off "magig quotes". The template works fine now but all my required fields are no longer marked as required and you can submit an empty form.
The form uses designer code. The other form on the same server still uses required fields.
The form uses designer code. The other form on the same server still uses required fields.
Hi baerle97,
Impossible to say much from the information here.
Please check your custom code - if Magic Quotes were on then there may be a lot of extra \\\\ added to it.
Bob
Impossible to say much from the information here.
Please check your custom code - if Magic Quotes were on then there may be a lot of extra \\\\ added to it.
Bob
Hello Bob,
the custom code seems to look fine.
I tried to remember what I have changed besides the Magic Quotes since the required fields worked the last time we tested the form.
The last thing I did was renaming the form giving it a version number in the form name. It used to be "20150426_MeldungObiPHP" and I renamed it to "20150426_MeldungObiPHP_V1.0".
So I copied the form again and renamed it to "20150426_MeldungObiPHP_V1_0" and everything works fine. Just avoiding dots in the forms name.
Thanks and best regards
Petra
the custom code seems to look fine.
I tried to remember what I have changed besides the Magic Quotes since the required fields worked the last time we tested the form.
The last thing I did was renaming the form giving it a version number in the form name. It used to be "20150426_MeldungObiPHP" and I renamed it to "20150426_MeldungObiPHP_V1.0".
So I copied the form again and renamed it to "20150426_MeldungObiPHP_V1_0" and everything works fine. Just avoiding dots in the forms name.
Thanks and best regards
Petra
This topic is locked and no more replies can be posted.