C
|
cgphp 4/10/2012 |
Try to echo the $_SESSION['current_record'] in the "Before process" event and make sure is not empty: $_SESSION['current_record'] = $_GET['editid1'];
$rs = CustomQuery("SELECT bureau_code FROM bureau_members WHERE userid=".$_SESSION['UserID']." LIMIT 1");
|
C
|
copper21 author 4/10/2012 |
Cristian, |
C
|
cgphp 4/10/2012 |
Do you get errors in firebug? |
C
|
copper21 author 4/10/2012 |
Do you get errors in firebug?
|
C
|
copper21 author 4/11/2012 |
Doing a bit of investigating and not sure if this is a bug or not. When I change the property to "Read Only" the code does not work. When I change it to "Text Field" it fills the field in just fine, but the problem is I want the field to be read only. So the solution, at least for now, is to use JS to set the field read only. |