Hi everyone,
i need a command for escaping directives like in vlt ('\'). I want to use the Confiforms ifttt-macro and create a new page. No big deal, but i also want to give directives without rendering to a value.
For exampel:
Form field defnition (simple Text): Field name=myField.
Input into 'myField'='Hello World'
I want to give the directive [entry.myField.escapeJSON] as '[entry.myField.escapeJSON]' and not getting render into 'Hello World'
I tried a lot like '<', '{', '\' etc. but nothing fits.
I can use a workaround with dummy-fields, but a common command would be great.
Thanks
Why do you need dummy fields?
Not sure I get the message about the escapeJSON function.. does it malfunction for you?
No malfunction. escapeJSON was just an exampel and is not nesassary.
In my case:
I got a form (form A), witch creates a page, witch contains an other form (form B) but same form field names and i want to give directives for the created page.
An exampel for my case:
I want to create placeholder in 'form B' for values of 'form B' but i cant give directives like [entry.id] or [entry.myField] without put the value of the 'form a'.
i would like to write something in 'form A' like '\[entry.myField]' to get '[entry.myField]' in 'form b'. but my result is '\ HelloWorld'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, this sounds too complicated to me... may be someone else could help
I just cannot connect creation of the pages, different forms, something around \ and escapeJSON stuff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
solved: i searched something like the virtual funktion "asEntryRef(REF_TO_ENTRY)" (https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions).
probably i described my problem a little to complicated :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.