Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » DropDown Field values - changing in runtime
Re: DropDown Field values - changing in runtime [message #7703 is a reply to message #7702] Thu, 24 March 2022 12:46 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 439
Registered: May 2014
Senior Member
The framework calls the method number_unformat() in include.libary.inc two times.

The first call with value 50,01 is fine. The $decimal_point is empty and will be filled with $GLOBALS['localeconv']['decimal_point'] = ',' and the $thousands_sep will be filled with $GLOBALS['localeconv']['thousands_sep'] = '.'.
$number has now the value 50.01.

After this, my Debugger steps to _cm_updateFieldArray() and once more to number_unformat() with the (changed) value 50.01. In line 5776 the '.' in the number will be replaced with ''.

Is this behaviour of the framework right or do I have to search in my code for the problem?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing screen look
Next Topic: Importing default values -> enclosed in quotes
Goto Forum:
  


Current Time: Thu Nov 28 04:51:12 EST 2024

Total time taken to generate the page: 0.04231 seconds