Welcome guest,

You have 1 votes remaining.

0 votes
completed
Subscribe

conditional logic - e.g., hide if empty fields

by dmichaels on 12 Mar 2014 15:03 | 2404 Hits | 1 comment(s)

It would be great if we had the ability to insert simple conditions in the "layout" section of each form. For example, for a field called "color", the following code in the layout template would hide it if it was not entered by the user: {if color}Your color is {color}{/if}.

I've seen similar things done with CCKs that use the Smarty template system. If Smarty were used, administrators would have a wide array of options to configure the template without using overrides.



Gravatar
Alexandru Plapana - 13.03.2014 (03:38:57)

There is something similar in place when using the default description template: Components > RSDirectory! > Forms > edit a form.

Quote
0

1000 Characters left

How many votes ?×

Please select the appropiate flag ×

Spam Inappropriate Duplicate Wrong Category

Please select the category