Archive: Adding a textfield event (InstallOptions)


Adding a textfield event (InstallOptions)
Greetings all,

Using InstallOptions, is there a way to add events to a textfield? For example, I have two TextFields (Control Type=Text) then after the first textfield gets 4 characters worth of input (also using maxlen)the focus would automatically be put on the second textfield. (this is very similar to installers that ask for a serial key, the focus switches to the next available empty textfield)

Is this possible with the default InstallOptions library included in the default nsis installation?

Thanks for your time.


Unfortunately, it doesn't appear that InstallOptions allows you to use the Notify flag with text boxes.

However, you should be able to accomplish this by using nsDialogs instead of InstallOptions. (This also comes stock with NSIS)

(Or, there's also the InstallOptionsEX plugin)