Hi team,
on my form I have 3 fields inside a multi field section and this inside a container.
When I change the content of the first field, the second field should be updated by displaying the first fields value.
I use a PHP action to set the value of the second field from the first and the "Call AJAX" to get the values back to form via server.
But if I use the following settings to display the values with "Response Content" and "AJAX data scope" the following happens.:
Response Content = Ignore - Form display doesn't get update - OK for me, understood!
Response Content = Replace Node or Update Node HMTL - it always inserts the whole form at the position of the first field, no matter what I set AJAX data scope to: Empty or Container or Multifield! The values are showing up correctly in the inserted form fields now but form display is destroyed!
What am I doing wrong here!
Please help!
Kind regards Dieter
on my form I have 3 fields inside a multi field section and this inside a container.
When I change the content of the first field, the second field should be updated by displaying the first fields value.
I use a PHP action to set the value of the second field from the first and the "Call AJAX" to get the values back to form via server.
But if I use the following settings to display the values with "Response Content" and "AJAX data scope" the following happens.:
Response Content = Ignore - Form display doesn't get update - OK for me, understood!
Response Content = Replace Node or Update Node HMTL - it always inserts the whole form at the position of the first field, no matter what I set AJAX data scope to: Empty or Container or Multifield! The values are showing up correctly in the inserted form fields now but form display is destroyed!
What am I doing wrong here!
Please help!
Kind regards Dieter