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

26 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

 I can then use the up and down arrow keys, but I cannot use the scroll bar, which is a bit annoying. power washing

#15

If you master the tips of the spider solitaire 2 suit card game, you will find it extremely simple and easy to conquer. On the contrary, it will be difficult for you to win even after playing for many hours

#16

This will do the trick. Check the length of input element with the name productinfo[]” that are checked

See: spray foam insulation services

#17

How to use these parsing modes then? 

 

Joy Spackle

#18

When you load a plot file made with V3.xx and it has conditional branching like that, ForeUI will change it and the property name will be automatically quoted. Does anyone know how to fight porn?

#19

That shows up to be super io games however I am still not also certain that I like it. At any price will certainly look far a lot more right into it and also choose directly

#20

When you import a V3.xx plot file with such conditional branching, ForeUI will modify it such that the property name is automatically quoted. Cheers, http://www.bridgeportdrywallpros.com

#21

We can inspect your rig from top to bottom and make sure that it meets all of the necessary requirements. fleet repair

#22

This is an excellent website for retro games. Your essay was enjoyable to read. This is a fantastic document for me

 

#23

Please login or Register to Submit Answer