Form display logic error

I got “Display Condition has syntax errors”, When I tried to set up display
logic for a form. Any idea?

Hello,

I believe the 2 needs to be surrounded in quotes IE:

./next_form = ‘2’

Cheers,
Will

··· On Mon, Nov 21, 2016 at 2:05 PM, Jiehua CHEN wrote:

I got “Display Condition has syntax errors”, When I tried to set up
display logic for a form. Any idea?


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Same error.

··· On Monday, November 21, 2016 at 10:08:25 PM UTC+3, William Pride wrote: > > Hello, > > I believe the 2 needs to be surrounded in quotes IE: > > ./next_form = '2' > > Cheers, > Will > > On Mon, Nov 21, 2016 at 2:05 PM, Jiehua CHEN <jiehuaf...@gmail.com > wrote: > >> I got "Display Condition has syntax errors", When I tried to set up >> display logic for a form. Any idea? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Odd, your display condition looks correct. I’d recommend deleting the
condition and adding it again and possibly trying to deploy to see if that
resolves the issue. If the error persists please report a bug and we can
take a look at your domain.

Cheers,
Will

··· On Mon, Nov 21, 2016 at 2:12 PM, Jiehua CHEN wrote:

Same error.

On Monday, November 21, 2016 at 10:08:25 PM UTC+3, William Pride wrote:

Hello,

I believe the 2 needs to be surrounded in quotes IE:

./next_form = ‘2’

Cheers,
Will

On Mon, Nov 21, 2016 at 2:05 PM, Jiehua CHEN jiehuaf...@gmail.com wrote:

I got “Display Condition has syntax errors”, When I tried to set up
display logic for a form. Any idea?


You received this message because you are subscribed to the Google
Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.