- bdoodleAsked on March 29, 2015 at 04:19 PM
Please see the snippet of code from one of my forms below. It includes the source code that causes a certain image (an aqua panel) to show in the sail if the user has selected "aqua blue" in the Panel 1 (a & b) drop down box. It must have been generated when I added the conditional statement to show the Buccaneer_Spin_1_Aqua image. A numeric ID (shown in the red oval) and an Index value to its right appear in the code, but I don't know their purpose is or what they refer to. Please advise. Also, are they necessary? I want to know because I'm considering generating my own source code to conditionally show each sail panel image rather than adding each condition thru Form Builder one at a time. (I have hundreds to do.)
My form is: http://www.jotform.com//?formID=50756726233154
- JotForm SupportEltonCrisAnswered on March 29, 2015 at 07:17 PM
The ID you see in the conditions code is the condition ID generated by the system. It is only used on the condition builder, you can write whatever unique number there if you are creating the conditions manually. The index number is probably used for sorting conditions on how they appear in the conditions wizard. Just increment this numbers when you write your conditions. They are all necessary, you have to follow the conditions format otherwise it will cause errors and the entire conditions will stop from working.
Let us know should you have further questions.
- bdoodleAnswered on March 30, 2015 at 10:22 AM
Thank you for the information. Based on what you've said, I cannot create my own conditions because I cannot generate the condition ID that your system relies on. No problem. I'll go another way.
- JotForm Supportashwin_dAnswered on March 30, 2015 at 12:00 PM
On behalf of my colleague, you are welcome.