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
Hi Admin,
please can you help me. I am stuck due to this issue.
To make it clearer:
I want to use the board tools "AJAX" and "Call AJAX" to only refresh a container/multifield if a field is changing there inside.
Because at the end there are other field values to be recalculated and updated from the a database table by a PHP in this container/multifield (pricelist with discounts etc.)!
I call the AJAX on a Change event of this field.
In principle it works with the values of that section to be updated.
It shows up, but the AJAX inserts again the whole form at the position of the field that "Calls Ajax".
I would have expected that it does what is configured with Replace Node set with the container's name in the AJAX data scope to only refresh the given element.
Maybe I am doing something wrong but there is no documentation or another forum thread to support my request for CF7 behavor and features!
I found really nothing to help me out!
Please, please it is very urgent!
Thank you!
Kind regards Dieter
please can you help me. I am stuck due to this issue.
To make it clearer:
I want to use the board tools "AJAX" and "Call AJAX" to only refresh a container/multifield if a field is changing there inside.
Because at the end there are other field values to be recalculated and updated from the a database table by a PHP in this container/multifield (pricelist with discounts etc.)!
I call the AJAX on a Change event of this field.
In principle it works with the values of that section to be updated.
It shows up, but the AJAX inserts again the whole form at the position of the field that "Calls Ajax".
I would have expected that it does what is configured with Replace Node set with the container's name in the AJAX data scope to only refresh the given element.
Maybe I am doing something wrong but there is no documentation or another forum thread to support my request for CF7 behavor and features!
I found really nothing to help me out!
Please, please it is very urgent!
Thank you!
Kind regards Dieter
Hi,
I made it with a reload and PHP set value event in all fields that should react on the changed field.
And I "Reload" the page in all these fields. The PHP is setting and calculating alle the values that I need and write it back into the data array.
All the fields with the reacting events and settings reload when on changing the initiating field and jump to the next.
So easy but you'll have to dig through tons of forum entries and other stuff parallel to many tests to get things resolved.
The tool is really cool, not so the support and documentation for it!
Dieter
I made it with a reload and PHP set value event in all fields that should react on the changed field.
And I "Reload" the page in all these fields. The PHP is setting and calculating alle the values that I need and write it back into the data array.
All the fields with the reacting events and settings reload when on changing the initiating field and jump to the next.
So easy but you'll have to dig through tons of forum entries and other stuff parallel to many tests to get things resolved.
The tool is really cool, not so the support and documentation for it!
Dieter
Hi iwoxx, hi team
i have a similiar form. I am using a 'table list' displaying the rows of da database table 'contracts' (working) and the first column has an edit-button (working).
When pressing edit, a AJAX shall populate the entries to some text fields below (alternatively, submit to a new page with the data). But I cannot manage to get the data of the selected/clicked row.
thx for your help.
What do I have to add in 'Button Load Contract'

Table List

Text Area to display content of selected row from Table List
i have a similiar form. I am using a 'table list' displaying the rows of da database table 'contracts' (working) and the first column has an edit-button (working).
When pressing edit, a AJAX shall populate the entries to some text fields below (alternatively, submit to a new page with the data). But I cannot manage to get the data of the selected/clicked row.
thx for your help.
What do I have to add in 'Button Load Contract'
- Type: Button or Submit ?
- Interface: Call AJAX : Which Response Content ?
- Interface: Call AJAX : Data Scope : I cannot select this table. Can I create a own scope with only the selected/clicked row ?
- Interface: Events : AJAX ?
- Or Interface : Events : Reload ?

Table List

Text Area to display content of selected row from Table List

Hi Dieter,
Care to share your php code for the AJAX response, and where you put it? Also, did you find out how to suppress the Joomla page generation so only the AJAX response is seen in the browser?
Thanks!!
Sloan
Care to share your php code for the AJAX response, and where you put it? Also, did you find out how to suppress the Joomla page generation so only the AJAX response is seen in the browser?
Thanks!!
Sloan
Hi Sloan,
sorry for the late reply, but I was deeply in another huge project.
Please send me an email and I will send you the sample.
Hope it isn't to complex as an example and it will help you!
To put a complex entry here with text and inline pictures...I couldn't achieve!
And also a PDF could not be uploaded!
BR Dieter
sorry for the late reply, but I was deeply in another huge project.
Please send me an email and I will send you the sample.
Hope it isn't to complex as an example and it will help you!
To put a complex entry here with text and inline pictures...I couldn't achieve!
And also a PDF could not be uploaded!
BR Dieter
Having the same issue with the whole HTML Joomla page being returned into the Ajax call. Anyone have any workaround for this?
Edit: Apologies, it seems a leftover PHP code was causing issue, it's fixed now.
Edit: Apologies, it seems a leftover PHP code was causing issue, it's fixed now.
You need to login to be able to post a reply.