Index
» Projects
» phpMyEdit
» Forum
» Hide a field-column (but fill it/update it) |
|
trister
Joined: 01 Dec 2010
Posts: 15
Posted: 2014-10-17 18:13
Back to top
Reply with quote
|
Hi again.
I have a table with eg 3 fields
id, comment, owner_id
owner_id is a variable that I can get from the session.
I want to display only the "comment" field but I want the "owner_id" field to be filled from the session.
At the moment I fill "owner_id" with :
$opts['fdd']['owner_id']['values2|CPA'] = array($ID => $ID);
I want that field to not be visible to the user (but to be filled anyway).
Is this possible without a trigger?
Thanks in advance
|
trister
Joined: 01 Dec 2010
Posts: 15
Posted: 2014-10-17 18:37
Back to top
Reply with quote
|
it seems with this code I got it:
$opts['fdd'][''owner_id'] = array(
'name' => 'owner id', //
'select' => 'T',
'options' => 'AVCPDR',
'input' => 'R',
'maxlen' => 8,
'default' => $ID,
'sort' => true
);
$opts['fdd']['owner_id']['values2|CPA'] = array($ID => $ID);
This shows the "owner_id" field only while edit and it seems to fill it correctly...
Is this the correct way?
|
yashi1
Joined: 15 Mar 2021
Posts: 3
Posted: 2021-05-18 15:05
Back to top
Reply with quote
|
if you want some erotic game on your bed. then book a call girl just one click on this click with your choice.
Escorts Service in Delhi
|
Post new topic
Reply to topic
|
|
|
|