dms
Posts: 164
Joined: Tue Aug 28, 2007 7:11 am
Location: UK

Prevent progress until text box is completed

Hi

Using 6.91 Enterprise version. I have created a custom dialog to collect username, companyname and e mail . I want to ensure that there is an e mail address entered so I have configured a custom action as per the how to in the user gude on how to make sure an edit box is filled and added the relevant DoAction on the published events of the next button on my custom dialog. It correctly identifies that there is no text in the text box and diplays my custom message, but then immediatly moves on the the next dialog. I had expected that it would remain where it was until the text box was completed. Have I missed something obvious or is this a bug in this version.

Dom
cyb
Posts: 43
Joined: Wed Apr 15, 2009 1:06 pm

Re: Prevent progress until text box is completed

Hi Dom,

Your installation moves on even if the dialog is not filled because you most likely did not add a condition for the "NewDialog" control event, you added it only for the "DoAction".
That control event should look like this:

Code: Select all

New Dialog    FolderDlg    MY_EDIT_PROPERTY
Best regards,
cyb
Cosmin Budrica
Advanced Installer Team
http://www.advancedinstaller.com/
dms
Posts: 164
Joined: Tue Aug 28, 2007 7:11 am
Location: UK

Re: Prevent progress until text box is completed

Thanks for this info, and it works like a charm.

I now want to send and store said info on my server and I'm using the how to in the help file as a base to work from. In that t states:
During a HTTP POST request a "Please wait..." message box will be spawned in the installation package. You can suppress the spawned message box by setting the HttpPostSuppressSpawnMsgBox property to 1 .

Where exactly do I do that?

Dom
cyb
Posts: 43
Joined: Wed Apr 15, 2009 1:06 pm

Re: Prevent progress until text box is completed

Hi Dom,

That property must be created by you with a SetProperty control event, just like the other properties in the HowTo.

Best regards,
cyb
Cosmin Budrica
Advanced Installer Team
http://www.advancedinstaller.com/
dms
Posts: 164
Joined: Tue Aug 28, 2007 7:11 am
Location: UK

Re: Prevent progress until text box is completed

Right I've done that But I'm still getting the message so Presumably I must have set the wrong arguement for the property, what should that be?

Dom
cyb
Posts: 43
Joined: Wed Apr 15, 2009 1:06 pm

Re: Prevent progress until text box is completed

Hi Dom,

Please send us the AIP to support at advancedinstaller dot com so that we can investigate the problem.

Best regards,
cyb
Cosmin Budrica
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”