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

Home » RADICORE development » Application Development » BUTTON IN THE DATA AREA
Re: BUTTON IN THE DATA AREA [message #5129 is a reply to message #5123] Wed, 04 November 2015 05:52 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
The problem is that the line "$fieldarray['printbutton'] = null;" is being executed too soon, and it is causing the $where string to be regenerated to include 'printbutton'. To avoid this you need to use the following code inside _cm_changeConfig():
if (empty($where) AND !empty($fieldarray)) {
    $fieldarray['printbutton'] = null;
}


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JAVASCRIPT CODE FOR INPUT FIELD
Next Topic: RETURN MORE THAN ONE TRANSACTION
Goto Forum:
  


Current Time: Thu May 16 22:25:31 EDT 2024

Total time taken to generate the page: 0.01044 seconds