Print Page | Close Window

radio buttons to an outcome

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
Printed Date: 18 Oct 2019 at 1:04pm
Software Version: Web Wiz Forums 11.10 -

Topic: radio buttons to an outcome
Posted By: jones375
Subject: radio buttons to an outcome
Date Posted: 27 Apr 2015 at 4:00pm
Hi all

I was hoping someone could help, I like many on here am very new to javascript and am just grasping the basics which is going well. However I have ran into a stumbling block with some radio buttons, What I have is two fields with three buttons each. A field marked Urgency the other as Risk, in each field the buttons are labelled as High, Med, & Low. The idea is to select say High in one field and then High in the other will give an outcome to turn a text box Red, and say to select Med and Low would turn the box amber. All i am looking for is the start of the script to complete the first operation of selecting high and high to help push me in the right direction. As i understand I would need to use an array to accomplish this, as I say i just keep hitting a wall and really need some help. 

Any help is gratefully appreciated.


Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 -
Copyright ©2001-2017 Web Wiz Ltd. -