Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 16th October 2006, 12:39   #1
Nastasia
Junior Member
 
Join Date: Oct 2006
Posts: 7
Question I need to keep disabled Install buton while one field is empty

Hello all!

I need to keep disabled Install button on Select Options page until one field is empty. When the user fills this field the Install button should be enabled.
I suppose it's necessary to send message to Select Options window but i don't sure
Couldn't you recommend me something?
Nastasia is offline   Reply With Quote
Old 16th October 2006, 15:25   #2
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
why don't you select your field and grey out by default?
Comm@nder21 is offline   Reply With Quote
Old 16th October 2006, 15:38   #3
Nastasia
Junior Member
 
Join Date: Oct 2006
Posts: 7
I have to manage availability of button "Install" dinamically. "Install" button is disabled until "password" field is NOT blank anymore
Nastasia is offline   Reply With Quote
Old 17th October 2006, 11:20   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You can't have it disabled, but you can have a message box pop-up when the user clicks the next button. Use MinLen=1 and ValidateText or validate with your own custom code in the leave function of the page.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik 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