Using Condition Event Widgets in Application Studio

I am setting up a kinetic dashboard where a user can enter data into a UD table via some form fields. After the user types in all the information in the fields, I put a button at the bottom for them to click to submit the record to the table.

I am currently working on the click event for this button. First I would like the event to look at all the required fields and make sure there is a value there. I tried to accomplish this with Condition widgets in the event builder. For the condition expression I used some very generic terms like txtLotNum = “”.
My problem is that I don’t know the right syntax for these condition expressions. The documentation doesn’t help clarify this. How do I setup my expression if I want to check each text box (or other control) for a value before completing the event?

Thanks!
Nate

1 Like

It is very finicky

The syntax that I got to work for my specific use case was
“{actionResult.success}” === “Y”

actionResult was the data view and success was a field in that view (for my example it was one of a functions returned response variables, I called a function and success was one of the response paramaters)

The tooltip example in the widget itself is

“{OrderDtl.PartNum}” === “TSHIRT”

Hope this helps

“{DataView.FieldName}”===“value”

And by finicky it will pretend to work sometimes but always invoke the yes condition if the syntax is wrong

Or sometimes just not run the condition at all if the syntax is wrong.
I had both happen with the above example until I got it exactly right.

1 Like