Cgreenhouse
Novice

Image Condition Based on selection of another control

Hello everyone.

 

Working on enhancing a form I have created.  The smartform takes in text as well as an image.

I want to basically condition the image size restrictions based on the selection of a drop down box.

 

Example:  If featured article control = Yes, require that the image is 600X400. Is this possible? 

 

I thought I could make a rule on this but it appears that I can only set the image size of the image control itsself and not on the actual image that is selected.


2016-02-01_11-08-17_2027.png
0 Kudos
Reply
2 Replies
Zack1
Apprentice

Re: Image Condition Based on selection of another control

 Yes this is possible!

 

Create a rule based on the control that contains the value  you want to change the picture based on

 

and do set control properties as the action, and select the width and height.

 

I created a view with a drop down menu with small and big, and created the corresponding rules. check the attached screenshots and you can duplicate them in your form.

 

Hope this helps


k2_control_properties_2028.jpg
k2_image_rule_2029.jpg
Reply
Cgreenhouse
Novice

Re: Image Condition Based on selection of another control

Hello Zack.

 

Thanks for all of the details and assistance :)

0 Kudos
Reply