Repeater set a Variable per Field
Hello There
I'm creating a Form with a Repeater Element.
For each Field in that Repeater I need to calculate if it's readonly or not. For this I use the Function 'Model::checkIfModelFieldHasData($models_id, $get('name'))'
Based on the result of this call, i need to make all Inputs in the Repeater Field readonly.
How can I achieve this without calling this function separately for each Input in my Repeater.
Code:
0 Replies