I have a repeat group with 2 elements (datetime, textarea).
I am wanting to disable both elements when data has already been entered & saved. (But retain the saved information on future saves).
I have enabled the feature in the JS Element Settings to Disable my repeat textarea OnLoad when my repeat textarea=''
However, this is not working as expected. When I do this - All repeat textareas are disabled when there is already 1 saved repeat textarea.
I believe I have identified why this occurring:
The repeat data (after the initial repeat_element_0 is saved) is retainingrepeat_element_0's value on page load (even though it is not showing in the textarea. I have captured this in Firebug.
BUT - if I save the empty repeat element - it behaves correctly - because the value now=''
(Please see screenshot)
I am wanting to disable both elements when data has already been entered & saved. (But retain the saved information on future saves).
I have enabled the feature in the JS Element Settings to Disable my repeat textarea OnLoad when my repeat textarea=''
However, this is not working as expected. When I do this - All repeat textareas are disabled when there is already 1 saved repeat textarea.
I believe I have identified why this occurring:
The repeat data (after the initial repeat_element_0 is saved) is retainingrepeat_element_0's value on page load (even though it is not showing in the textarea. I have captured this in Firebug.
BUT - if I save the empty repeat element - it behaves correctly - because the value now=''
(Please see screenshot)