Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Escaping Directives in Confiforms

Okkan Coban October 19, 2022

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

 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
October 19, 2022

Why do you need dummy fields?

Not sure I get the message about the escapeJSON function.. does it malfunction for you?

Okkan Coban October 19, 2022

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'.

Alex Medved _ConfiForms_
Community Champion
October 19, 2022

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

Okkan Coban October 20, 2022

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events