Hello,
Within Studio, is it possible to specify the same text field belonging to several panels on the form? In other words, two text field pointing to the same data source.
Thanks,
Devin
Hello,
Within Studio, is it possible to specify the same text field belonging to several panels on the form? In other words, two text field pointing to the same data source.
Thanks,
Devin
Do you want to display a field Multiple Times in Detail view of a Module?
Yes as well as in the Edit view. If data was entered into one of the twinned field, it should appear in the other.
You can create extra fields in Studio and either auto-fill them at the time of saving with a workflow or with logichooks if your are a programmer.
IF you don’t want to save the values on all fields in DB and just display them, you will need to create a process_record to display your values in listview and create custom detail and edit view to load the values when you open the record.
Thanks,
AlxGr
How can I setup workflow to auto-fill the twinned field at time of save with bidirectional support? For example “first_name” textfield. Thanks!
What you can do is Add a Custom JS code to EditView.
This will trigger on the change of either fields and update the other one not in Focus. So once on the Edit View, values have matched, it will show same Data in Detail View.
In your editviewdefs.php of your you can add custom JS file as
$viewdefs ['YOURMODULE'] =
array (
'EditView' =>
array (
'templateMeta' =>
.....
array (
'includes' =>
array (
0 =>
array (
'file' => 'custom/modules/YOURMODULE/Custom.js',
),
),
.....
Now this Custom.js file will contain your Code for Updating fields. Its easier to do it via Jquery.