I have a situation where I am using your Profile fields to populate a Fabrik form and then I want to change just one field in your form a field that is not editable by a User... this is a status setting for mailing mask components to be sewn by our sewers in the Sewer Battalion. When I used connected to your data table... everything seems fine .. I had the fields just as read only and and disabled in the fabrik element settings...
Set element to Disable and Read only and Auto Complete with Values
That works great... each field shows the correct values...
I have one element that I want to update.
I will use something like this to update that field...
$name = $formModel->formData['josl9_jsn_users___status'];
if ($name === '')
{
$formModel->updateFormData('josl9_jsn_users___status', 'Queued', true);
}
But when I hit the save... all my values that were displayed as read only and disabled are wiped cleaned on the jsn user table - Name and address information that I was displaying to them and the ID field ... which I call sewer number for their view. I am using your table as the repository of all sewer's information and tracking where they are in the sewing process. So i would like to update some fields during the process . That way when they go to their Sewer Profile (Easy Profile) they will see that status changes. So I am trying to figure out where to look to prevent this updating. I suspect it is Fabrik that is returning null or spaces to the JSN table. How can prevent the fabrik from from updating the fields when they were for display only. Thanks for any thoughts that I can put to them...