Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8937

Re: Page only when something happens

$
0
0

hi

try this.

in "initialize" event of your new page type this code:

 

----- data.#subform[0]::initialize: - (FormCalc, client) --------------------

 

 

if (yourfieldname.rawValue == "X") then

 

YourImageField.presence = "visible"

 

else

 

YourImageField.presence = "invisible"

 

endif

in your case instead of #subform[0] it should be your page or subform name.

 

if you want your page react to value of "X" in every moment of fields value change, you can right this code in "change" event of where the value of "X" appear like your text field.

 

Hope you find it helpful,


Viewing all articles
Browse latest Browse all 8937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>