[Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode
-
Is it possible to output a section of HTML only if there is a value in a certain field?
For example,
[cfdb-html form="users" show="name,bio,url"] <h2>${name}</h2> <p>${bio}</p> [if "url!=null"]<p><a href="${url}">Website</a></p>[/if] [/cfdb-html]
https://www.ads-software.com/extend/plugins/contact-form-7-to-database-extension/
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘[Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode’ is closed to new replies.