leaving a field editable while using custom code to insert a value, in editviewdefs.php?

editviewdefs.php 

0 => array (

'name'=> 'somefield',

'label' => 'lbl_somefield',

'customCode' => '{$someVariable}',

),

Works great! Yet there is an inherent issue, it prevents the field from being editable by the user. Is there a way to do this and only pre-fill the field?

-Alek

Parents Reply
  • How would I set the default value from studio as a variable? Basically the scenario is I have created a custom module and I need to on create populate most of the fields in the quickcreateview with data from other modules. So I created queries and variables etc... what I am having trouble with is using the results of those queries, I can display them however am having trouble saving them. Also I need them to remain editable after I pre-fill the data from other modules.

Children