Checking a profile field's value and executing javascript
I've created a custom profile field with several radio buttons. Each radio button has a text value assigned to it and the user must choose a single value from this list.
I want to branch depending on the string value of this field in a template and execute a separate script based on each value.
What I've tried is:
But all of the scripts execute at once.
No members have liked this post.
Last edited by m0nde; 30 Apr 2016 at 00:52.
Reason: clarification
|