Solved

Can an option button be invisable and set to selected with a value?

Posted on 2004-09-24
3
178 Views
Last Modified: 2013-12-24
I have a set of option buttions in a group of 4
They are each set as not selected and have values ranging from 1 to 4.  If the web viewer does not select any of the four in the group, I'd like for a value of 0 to be selected.

I know that if I add a 5th option button, select it and assign it a value of 0, what I need will result.  One hitch:  I don't want the 5th option button visable or taking up space on the form.  

Help!
Neil
0
Comment
Question by:nlesser
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
hhammash earned 250 total points
ID: 12147209
Hi,

The easiest way is to keep the default value in the table for this field as 0.  If the user selects an option the value will change accordingly.

Example:
-----------

You have a field in the table called Level
The OptionGroup on the form is called Level and has 4 values from 1 to 4.
In the table keep the value of Level field as 0
If the form submits null value for Level field,  the 0 will not change,  otherwise,  the 0 will be replaced by the value selected on the form.

hhammash
0
 

Author Comment

by:nlesser
ID: 12149058
Thanks for the great advice.

Neil
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12149163
You are welcome nlesser
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now