Hi
Is there a way to set a def for field with \n in ?
This question has an accepted answers - jump to answer
Maybe you need to escape the \ with a leading backslash, something like this: my newline\\ncharacter
\
my newline\\ncharacter
Kevin
Hi @Kevin
Yes indeed... I need to use addcslashes because php stored var is used to set js def field value and addslashes do not the job...
Thanks Regards
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Maybe you need to escape the
\
with a leading backslash, something like this:my newline\\ncharacter
Kevin
Hi @Kevin
Yes indeed... I need to use addcslashes because php stored var is used to set js def field value and addslashes do not the job...
Thanks
Regards