I have 2 forms, one used to submit and modify data, the other as a summary where users can see excerpts of data (say Title, Author, ecc.), click on a link to edit a record and so on.
I'd like to mimic the publish/unpublish behaviour used by joomla articles, modules, cf forms, etc.
That is: click on a link and change the value of a field without submitting and reloading the page.
I could add an event to the 1st form and manage from there the (ajax or iframe) submission from the 2nd one.
Any comment about that stategy? Is it overkill since I want to update just one field?
Is there some cf4 method to accomplish that?
Thank you
maxx
I'd like to mimic the publish/unpublish behaviour used by joomla articles, modules, cf forms, etc.
That is: click on a link and change the value of a field without submitting and reloading the page.
I could add an event to the 1st form and manage from there the (ajax or iframe) submission from the 2nd one.
Any comment about that stategy? Is it overkill since I want to update just one field?
Is there some cf4 method to accomplish that?
Thank you
maxx
Hello,
Its not done using AJAX in Joomla, its a link, when clicked, you are executing some function then redirected to the list.
You can do it the same way in Chronoforms, set the link to a new event with a custom code action, update the field using SQL or "DB Save" then redirect back.
Regards,
Max
Its not done using AJAX in Joomla, its a link, when clicked, you are executing some function then redirected to the list.
You can do it the same way in Chronoforms, set the link to a new event with a custom code action, update the field using SQL or "DB Save" then redirect back.
Regards,
Max
Its not done using AJAX in Joomla, its a link, when clicked, you are executing some function then redirected to the list.
You can do it the same way in Chronoforms, set the link to a new event with a custom code action, update the field using SQL or "DB Save" then redirect back.
Thank you Max, yesterday I did some firebugging of a chronoconnectivity list (following your tutorial in the CCV4 FAQ section) and of Publish/Unpublish in joomla and I realized there's no ajax.
I thought ajax would be more elegant for long pages (I have a long list with every row on more than one line) but I will go the CF/CC/joomla way.
Thank you
maxx
This topic is locked and no more replies can be posted.