re-open
Public

Hello ForeUI,

I’m trying to use conditional branching where I want to check whether a checkbox is selected or not: {CheckBox_1.selected} == true

However, this keeps on giving an expression error, but it works in version 3.90 SP 1 and does not in 4.00 beta. A bug perhaps?

Best regards,

Gerwin

14 answers

Staff July 24, 2015

Hi Gerwin,

This is not a bug, it is just because in V4.0 we defined two parsing modes for expression, and the conditional branching is set to “EVAL” parsing mode, which requires all strings need to get quoted with double quote marks. I am about to write a blog post to introduce all these.

In the “EVAL” parsing mode, your property name in the {} also needs to be quoted with double quote marks. Like this:

If you load a plot file that created with V3.xx, and it has conditional branching like that, you will see it get modified by ForeUI and the name of property gets quoted automatically.

If the text field is in “TEXT” mode, you won’t need the double quote marks, because ForeUI assumes all your input are just text (no function call, no calculation etc.). In your case, conditional branching doesn’t support “TEXT” parsing mode, so you need the quote marks.

I will soon introduce how to use these parsing modes in a blog post.

#1
Staff July 24, 2015

After posting my reply. I checked again and I realized that, even in “EVAL” parsing mode, when inserting property by clicking the “…” button, ForeUI doesn’t add quote marks to the property name. So that is a bug, thanks for reminding us :-)

We will get it fixed in next version.

#2
  1. Hello ViVi,Thanks for the swift reply, adding the " " gets rid of the expression error.Best regards,Gerwin

Well this is great site! Would definitely recommend this to my friends. Love the read  https://paintershuntsville.com

#3

Great site thanks admin. More power.  https://coloradospringswelding.com

#4

The information you have posted is very useful. The sites you have referred was good. Thanks for sharing.  weddingphotographersvancouverwa.com

#5

The information you have posted is very useful. The sites you have referred was good. Thanks for sharing.  deck installers near me

#6

I appreciate your blog post and the content you shared with us is simply wonderful Heidi

#7

I really loved it here but are there any recent updates? Thanks  fort wayne fence contractors

#8

Well this is great site! Would definitely recommend this to my friends. Love the read  hair extension salons des moines

#9

The information you have posted is very useful. The sites you have referred was good. Thanks for sharing.  waxinglubbock.com

#10

The information you have posted is very useful. The sites you have referred was good. Thanks for sharing. cabinet designer

#11

I love your content! Great job!  how much is a tummy tuck

#12

I highly appreciate your work here! Thank you so much! how much is a tummy tuck

#13

I wanna know more about this because this is really informative!  how much is a tummy tuck

#14

Please login or Register to Submit Answer