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

Home » RADICORE development » Transaction Patterns » PopUp and add1 - key fields
Re: PopUp and add1 - key fields [message #5190 is a reply to message #5189] Thu, 10 December 2015 05:48 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
After returning from another form you can use the following code to determine the pattern_id of that form:
if (!empty($GLOBALS['return_from'])) {
    $prev_pattern_id = getPatternId($GLOBALS['return_from']);
}

$GLOBALS['return_from'] will contain the task_id of the form from which you have just returned, and with the above code you can identify its pattern.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Different Categories
Next Topic: Del1 - no table name in query
Goto Forum:
  


Current Time: Wed Dec 04 14:35:50 EST 2024

Total time taken to generate the page: 0.02604 seconds