Solved

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

Posted on 2004-09-24
3
175 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

757 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

22 Experts available now in Live!

Get 1:1 Help Now