Choices on Attribute

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
denisv
Posts: 253
Joined: Thu Jan 19, 2006 4:36 pm
Location: Ireland
Contact:

Choices on Attribute

Post by denisv »

When you set an attribute to have choices there are a few things that can happen:

a) Set no initial value, make attribute mandatory
Displays a drop down with no initial value thereby applying mandatory status fine,
Works fine unless you import data that might have values not in the list (OK - Data issue that can be sorted)

b) Set no initial value, make mandatory but allow other values and allow editing
This displays the first value in the choice list, can this not be blank ?
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

a) If you import data without validation the mandatory value rules will be ignored. But then the data may be inconsistent - according to your own rules.

b) If you specify a default value for the attribute it will be displayed in the box. Otherwise the box will be blank.
Aware IM Support Team
denisv
Posts: 253
Joined: Thu Jan 19, 2006 4:36 pm
Location: Ireland
Contact:

Post by denisv »

In the past, you could not leave the initial value blank for a mandatory choice attribute - that was solved a few builds ago.

However, if you chose 'Value Must Be Provided', 'Other Values Allowed' and 'Allow Users to add and edit choices' while leaving the initial value blank, it will not display a blank field but rather the first choice in the choices list.
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

Yes, this is how it is currently implemented. If you do not select the 'Allow users to add and edit choices' option, and do not provide an initial value, the field on form will be blank.
Aware IM Support Team
denisv
Posts: 253
Joined: Thu Jan 19, 2006 4:36 pm
Location: Ireland
Contact:

Post by denisv »

Yes, but unfortunately you get a list box control instead of a drop down which really isn't ideal, could this be looked at as a change ? It's more the problem with the list box control, I would rather use a drop down that allows other entries but doesn't allow editing and adding.
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

To get a dropdown control displayed on form you need to select 'Generate popup' presentation option for the attribute when using 'Other Values Allowed' and 'Allow Users to add and edit choices' options.
Aware IM Support Team
Post Reply