Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How are blank entries put into lookup arrays?

arrays blank entries lookup
0
10 Posted

How are blank entries put into lookup arrays?

0

Lookup arrays are used to populate dropdown lists or radio groups. They may be hard-coded into the application. obtained from a database table, or from a language_array.inc file. Each array should contain the non-blank entries which are to be used in that dropdown list or radio group, but sometimes a blank entry is required to indicate that no choice has yet been made. This can be done automatically by the framework when the lookup array is loaded into the XML document by adding an entry with a null key and a suitable description as follows: • In a non-search screen the description will be ” “. • In a search screen the description will be “(undefined)”. Blank entries will NOT be added to multi-choice dropdown lists, or ENUM fields which already contain an entry for index 0, or arrays which already contain an entry with a key of ‘ ‘ (single space character), so the framework needs to check the control type of the field before it knows whether to insert a blank entry or not. The name of

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.