Old 4th December 2008, 10:23   #1
RBIBBY
Junior Member
 
Join Date: Oct 2008
Posts: 8
Check components are valid

Hello,

I have a components page where there are two choices. The user is only allowed to make ONE choice.

Ideally I would like to have a couple of radio buttons so the user can only choose one,

or how can I check and validate the options proceeding onto the install step?

Any help would be much apprciated.
RBIBBY is offline   Reply With Quote
Old 4th December 2008, 11:42   #2
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
you're probably looking for something like this...
http://nsis.sourceforge.net/Mutually_Exclusive_Sections

"
# It allows only one of two sections to be selected at any
# given time, but unlike one-section, it allows nither
# to be selected as well.
"

Or for 'one-section' (mentioned in the above as well); it is an example that is included with the NSIS download (c:\program files\%nsis%\Examples\one-section.nsi).
Animaether is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump