General Condition macro in FormBuilder

Arshad Nazeer asked on February 23, 2015 07:23

Hello, I have a calendar form field that enables date selection. I have applied validation on this field to not accept future dates by going to FormBuilder -> Selected Calendar field -> Select Validation on the right hand pane -> Selected Rules = General Condition -> Edit (Enter Text) -> Code tab typed "<DateTime.Now"

Now, when I select past dates or future dates the validation message generated is "Invalid input!" End user is going to generate a BizForm and applies validation by following above procedure. How to write correct text in General Condition? How do I get reference to field in question in Code tab after I click "Edit" after selecting General Condition?

Correct Answer

Arshad Nazeer answered on February 23, 2015 07:58

I had to use "Value" to get reference to the field in question. Thanks anyways.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.