TOPIC:

Checkbox Group Multiple Selections Open a Hidden Field 2 weeks 8 hours ago #260012

  • Topic Author
  • papin0
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 77
  • Thanks: 0
Hello;
I have a checkbox group with the following options
0;Alcohol/Drugs use/abuse or dependency;Alcohol/Drugs use/abuse or dependency
0;Amnesia;Amnesia
0;Anorexia or wound up;Anorexia or wound up
0;Appetite down;Appetite down
0;Appetite up;Appetite up
0;Attempts to hurt others;Attempts to hurt others
0;Attempts to hurt self/cutting on self;Attempts to hurt self/cutting on self
0;Bizarre/unusual experiences;Bizarre/unusual experiences
0;Concerns about alcohol use;Concerns about alcohol use
0;Constant sadness/depressed mood;Constant sadness/depressed mood
0;Crying spells;Crying spells
0;Decreased abilities to sustain focus;Decreased abilities to sustain focus
0;Decreased concentration;Decreased concentration
0;Decreased effectiveness at work/home ;Decreased effectiveness at work/home
0;Decreased enjoyment in formerly pleasurable activities;Decreased enjoyment in formerly pleasurable activities
0;Decreased need for sleep;Decreased need for sleep
0;Difficulty falling asleep;Difficulty falling asleep
0;Difficulty in organizing tasks;Difficulty in organizing tasks
0;Difficulty with control of anger;Difficulty with control of anger
0;Difficulty with relationships (spouse, children, co-workers);Difficulty with relationships (spouse, children, co-workers)
0;Diminished sex drive;Diminished sex drive
0;Distractibility;Distractibility
0;Dizziness;Dizziness
0;Dramatic mood swings;Dramatic mood swings
0;Early morning awakening;Early morning awakening
0;Family/legal problems due to alcohol/drugs;Family/legal problems due to alcohol/drugs
0;Fatigued/low energy;Fatigued/low energy
0;Fear of bridges/heights/social situations;Fear of bridges/heights/social situations
0;Feeling "hyper", restless or wound up;Feeling "hyper", restless or wound up
0;Feeling dissociated;Feeling dissociated
0;Feeling elated;Feeling elated
0;Feeling on edge;Feeling on edge
0;Feelings of anxiety;Feelings of anxiety
0;Feelings of guilt;Feelings of guilt
0;Feelings of helplessness;Feelings of helplessness
0;Feelings of hopelessness;Feelings of hopelessness
0;Feelings of numbness;Feelings of numbness
0;Forgetfulness;Forgetfulness
0;Have actually hurt others;Have actually hurt others
0;Headaches;Headaches
0;Hearing/seeing things others do not;Hearing/seeing things others do not
0;Heart palpitations/chest pain;Heart palpitations/chest pain
0;Homicidal thoughts/hurting others;Homicidal thoughts/hurting others
0;Impulsive;Impulsive
0;Increased energy;Increased energy
0;Increased sexual activities;Increased sexual activities
0;Increased sleep;Increased sleep
0;Indecisiveness/slowed thinking;Indecisiveness/slowed thinking
0;Irritability;Irritability
0;Low self-esteem;Low self-esteem
0;Menstrual problems/changes;Menstrual problems/changes
0;Nausea/abdominal distress;Nausea/abdominal distress
0;Needing to be with others excessively;Needing to be with others excessively
0;Nightmares;Nightmares
0;Other drug use/abuse or dependency;Other drug use/abuse or dependency
0;Other physical symptoms;Other physical symptoms
0;Overeating/Binge eating;Overeating/Binge eating
0;Overspending;Overspending
0;Panic attacks;Panic attacks
0;Purging food (vomiting or laxatives);Purging food (vomiting or laxatives)
0;Racing thoughts;Racing thoughts
0;Repetitive behaviors/compulsions;Repetitive behaviors/compulsions
0;Repetitive bothersome thoughts;Repetitive bothersome thoughts
0;Restlessness;Restlessness
0;Sexual problems;Sexual problems
0;Shortness of breath;Shortness of breath
0;Suicidal thoughts;Suicidal thoughts
0;Sweats;Sweats
0;Tendency to isolate;Tendency to isolate
0;Trembling/shakiness;Trembling/shakiness
0;Unexplained pain;Unexplained pain
0;Urinary problems;Urinary problems
0;Waking during the middle of the night;Waking during the middle of the night
0;Weight down;Weight down
0;Weight up;Weight up

I want to be able to Turn On 2 other field when the Other drug use/abuse or dependency and or
Other physical symptoms options are checked. (I got this working)
But also need when another option is checked beside one of the Other drug use/abuse or dependency and or Other physical symptoms options are selected.

This what I have so far:

turn on element drug_abuse if symptoms is Other drug use/abuse or dependency
turn on element othersymptoms if symptoms is Other physical symptoms
turn off element drug_abuse if symptoms isnot Other drug use/abuse or dependency
turn off element othersymptoms if symptoms isnot Other physical symptoms

turn on element drug_abuse if symptoms is #Other drug use/abuse or dependency;Other physical symptoms
turn on element drug_abuse if symptoms is #Other physical symptoms;Other drug use/abuse or dependency
turn on element othersymptoms if symptoms is #Other physical symptoms;Other drug use/abuse or dependency
turn on element othersymptoms if symptoms is #Other drug use/abuse or dependency;Other physical symptoms

turn on element drug_abuse if symptoms is #Other physical symptoms;Other drug use/abuse or dependency;!checked
turn on element othersymptoms if symptoms is #Other physical symptoms;Other drug use/abuse or dependency;!checked

to see it working go to: behavioralwork.com/index.php/en-us/referral

TIA

Please Log in or Create an account to join the conversation.

Last edit: Post by papin0.

Checkbox Group Multiple Selections Open a Hidden Field 2 weeks 4 hours ago #260017

  • Mirec's Avatar
  • Mirec
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 206
  • Karma: 2
  • Thanks: 3
HI,

could you please check the below documentation, I hope it will help you.

crosstec.org/en/support/online-documenta...f-conditionally.html

If you need more help, let me know!
Regards!
Mirko

Please Log in or Create an account to join the conversation.

Checkbox Group Multiple Selections Open a Hidden Field 1 week 6 days ago #260018

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6086
  • Karma: 3
  • Thanks: 429
Hi,

please try to use javascript and visibility rules:
crosstec.org/en/support/online-documenta...s-in-javascript.html

If you get in stuck with this, please let me know

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.046 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!