Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. moreno
  2. F2C field types
  3. Wednesday, September 13 2017, 03:35 PM
  4.  Subscribe via email
I need to hide a field if it is empty. Exemple in template:
<p> Description: {$ DESCRIPTION} </ p>
I should also hide the header "Description:"
Can I do it somehow?
Responses (2)
F2C webmaster Accepted Answer Pending Moderation
Hi Moreno,

Yes you can do that.
{if $ DESCRIPTION}<p> Description: {$ DESCRIPTION} </ p>{/if}

Please read about templating options using Smarty and look at the examples.
http://documentation.form2content.com/12-documentation/f2c-templating/18-using-smarty-template-engine-in-f2c
http://documentation.form2content.com/12-documentation/f2c-templating/34-advanced-f2c-templating-with-smarty
https://gist.github.com/Form2Content

Regards, Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  1. more than a month ago
  2. F2C field types
  3. # 1
moreno Accepted Answer Pending Moderation
thank you so much,
is a nice extension, compliments.
  1. more than a month ago
  2. F2C field types
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.