When you add special chars like a slash to the field name, you will get an error:
Field name: /F
Field name: /F
Warning
:preg_replace(){function.preg-replace
]: Unknown modifier "F" in ...libraries/cegcore/helpers/data_loader.php
on line 175
HI Dennis,
I'm pretty certain that slashes are not permitted in HTML input names, or is this problem with the Label?
Bob
I'm pretty certain that slashes are not permitted in HTML input names, or is this problem with the Label?
Bob
No, it is the field name input only, and yes you are right with HTML, but maybe there should be a check function behind such fields to prevent "ugly" errors, like deleting HTML / non alpha chars.
Hi, Dennis.
It does say "No spaces or special characters." under the Field Name input - but you are right, there is no further check.
Bob
It does say "No spaces or special characters." under the Field Name input - but you are right, there is no further check.
Bob
I am receiving the same error and I checked all my fields - the only "/" is in the label and not the field name. Why would it be giving that error?
It appears it only catches this on drop down fields in CFv5, because Ii have "/" in labels on text fields and it's not causing any problems. As soon as I removed "/" on the drop down field label, the error disappeared.
Hi wibadd,
What are your Joomla/Chronoforms/PHP versions ? I have just tried this here and no errors, what's your label text exactly and where does the error appear ?
Regards,
Max
What are your Joomla/Chronoforms/PHP versions ? I have just tried this here and no errors, what's your label text exactly and where does the error appear ?
Regards,
Max
This topic is locked and no more replies can be posted.