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
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.
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.
-
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
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing. weddingphotographersvancouverwa.com
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing. deck installers near me
Well this is great site! Would definitely recommend this to my friends. Love the read hair extension salons des moines
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing. waxinglubbock.com
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing. cabinet designer
I can then use the up and down arrow keys, but I cannot use the scroll bar, which is a bit annoying. power washing
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
This will do the trick. Check the length of input element with the name productinfo[]” that are checked.
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?
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
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
We can inspect your rig from top to bottom and make sure that it meets all of the necessary requirements. fleet repair
This is an excellent website for retro games. Your essay was enjoyable to read. This is a fantastic document for me