Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2420
1 vote
2 answers
78 views

If statement parentheses not working correctly

I've got a weird issue with parentheses in an if statement. If I have the if statement on it's own then no content is shown. If, however, I place two if statements in front of it then everything works …
Kieran McClung's user avatar
1 vote
Accepted

If statement parentheses not working correctly

It seems as though the conditions inside the parentheses don't need the curly braces. At least this has fixed it for me. {if (downloads:total_rows > 0 || section_2:total_rows == 1) && {section_1:tota …
Kieran McClung's user avatar
1 vote
1 answer
113 views

Compare contents of two grid inputs, possibly with variables?

I have two grid inputs and I need to have a conditional statement that says: if all fields of both grids are equal to 0, output some text. The way I'm trying to do this is by changing a variable value …
Kieran McClung's user avatar