CharlesAnthony
Posts: 18
Joined: Wed Oct 07, 2009 9:45 am

Creating Empty Properties

Hi,

How can one create a property with an empty value?

I am trying to enable/disable the Next button conditionally, based on whether a property has a value - which is entered by the user e.g.

Code: Select all

( RegistrationURL) AND ( RegistrationCode )

However, it doesn't seem possible to create a property with no value, as the OK button is disabled until a value is entered on the New/Edit property dialog.

AI 7.5.1

Cheers,

Charles.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Creating Empty Properties

Hi Charles,

Most likely the problem in your case is that you have used lower case letters when defining the property.
Please keep in mind that all public properties must be written only with upper case letters. You can read more about them in the following article.

Since you said that the value of the property is set by the user I suppose you have added an edit box on the dialog
which the user can fill in. All you have to do is leave empty the "Default value" column from the Properties table attached to the edit box.

Please let me know if you have other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CharlesAnthony
Posts: 18
Joined: Wed Oct 07, 2009 9:45 am

Re: Creating Empty Properties

Thanks - it was the Public/Private properties that was the issue.

Return to “Common Problems”