Hello, I'm using Conditional Blocks in the advanced editor to check for whether the user has submitted a user form or not. As per previous Toolset guidance, I was using these search parameters:
To show content if user has not yet submitted a form: ( '[wpv-search-term param="_success"]' eq '' )
To show content if user has submitted a form: ( '[wpv-search-term param="_success"]' ne '' )
This worked when I was using Toolset Views, but since I upgraded to Toolset Blocks, I get an error message in the RH column under where it gives a summary of the conditions specified in the editor:
If I use either of the above statements, I get this error message: "Incomplete condition"
In spite of this error, on the user end the view is as expected. But because my condition isn't listed in the summary, it's hard to troubleshoot without going into every single block to check my code.
HOWEVER...
If I instead use this statement:
( '[wpv-search-term param="_success"]' eq null )
I get this message: "Search term is equal to null."
Or if I use this statement:
( '[wpv-search-term param="_success"]' ne null )
I get this message: "Search term is not equal to null."
Because I just randomly tried this without knowing if it was a correct approach, can you please confirm that this approach is okay for use in the Advanced Editor? I don't want to run into any other problems.
Thanks!