Jump to content

Don't show field if there is no $Value

Recommended Posts


I'm creating a donation button for my website publishers, I want to make this field not appear on articles (record) if it doesn't have a $value.

The button is always visible



<a href="https://www.paypal.com/donate?business=$value&no_recurring=0&item_name=Donate&currency_code=BRL" data-ipstooltip="" _title="Donate" target="_blank"><span style="font-family:arial,helvetica,sans-serif; font-size:16px;"><span class="ipsBadge MangaInfo"><i class="fas fa-hand-holding-usd"></i> <strong>Donate</strong></span></span></a>


The question is... Is there any code I can enter to make the button only visible if a $value is set?


Link to comment
Share on other sites

  • 1 year later...
On 7/5/2021 at 1:44 PM, opentype said:
{{if $formValue}}

// Your code


Wrap it all like this. 


Resurrecting the topic 😅


Using 'Yes/No' field type, I can make that...

Yes = appear a text
No = nothing appears

Would you know how to do this?


Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...