Get Rid of <None> in fields
Posted: 2016-02-28 17:48
Using AppGini 5.50
If you wish to get rid of the display of <None> there is a very easy way to do this.
Change the following code in ajax_combo.php
Look for:
Change it to:
No longer will a <None> be displayed. A blank line will be displayed instead.
A hint:
Do not remove the original line but comment it out and copy and paste a new line as shown below. This makes it easy to revert if you wish.
Enjoy
Alan
If you wish to get rid of the display of <None> there is a very easy way to do this.
Change the following code in ajax_combo.php
Look for:
Code: Select all
$prepared_data[] = array('id' => empty_lookup_value, 'text' => "<{$Translation['none']}>");
Code: Select all
$prepared_data[] = array('id' => empty_lookup_value, 'text' => "");
A hint:
Do not remove the original line but comment it out and copy and paste a new line as shown below. This makes it easy to revert if you wish.
Code: Select all
$prepared_data[] = array('id' => empty_lookup_value, 'text' => "");
//$prepared_data[] = array('id' => empty_lookup_value, 'text' => "<{$Translation['none']}>");
Alan