Can the "if/else" function filter out blank entries?

Permalink Browser Info Environment
This may be dead simple and I'm missing it, but it there a way to use the if/else function to filter out blank entries?

Type: Discussion
Status: New
facerX
View Replies: View Best Answer
jgarcia replied on at Permalink Best Answer Reply
jgarcia
Yeah, just wrap the everything in the template content in the if statement. You would still need to check a particular field from the form though:

<if name="Field Name">
[Template content goes here]
</if>


That will simply check to see if a value has been specified for "Field Name", and if not, it will not show anything for that record.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.