Forums

Change method and actionl url

Mwa19 10 Dec, 2024

I'm really stuck.... How do I change method="post" to method="get" and how do I change the action URL of a form? Any help would be really appreciated.

Max_admin 10 Dec, 2024

why do you need to change the action url ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mwa19 10 Dec, 2024

I have a search form which uses cgi-data. I have to specify the action url. For example: <form method="GET" action="[my own url]" target="main">

Max_admin 10 Dec, 2024
Answer
1 Likes

ok, I have added this to the form settings, this should be ready in the next update, when do you need this feature ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mwa19 10 Dec, 2024

This is great! Preferably as soon as possible, but I understand that it takes some time. 

Max_admin 10 Dec, 2024
1 Likes

the new update is out, you can now download, install then test the new settings

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mwa19 11 Dec, 2024

Thank you very much. I works great. The only thing left now is that I would like the result after submitting the form in an iframe. Is there a way to accomplish that?

Max_admin 11 Dec, 2024

Great, did you try to enable the AJAX setting ?

otherwise you need to place the form inside an iframe

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mwa19 26 Feb, 2025

I have tried several days to get things working, but I have not succeeded until now. Is there a way to specify the target frame in the form?

I have tried the Ajax setting, this did not help. If I copy the html code of the form in joomla and then specify the target frame, it works. But I cannot seem to get this done from my chronoforms form, which I prefer. 

I would like to accomplish something like this: <form method="GET" action="[my own url]" target="main">

I hope anyone can help me!

Max_admin 26 Feb, 2025

so you just need a way to set the target attribute ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mwa19 26 Feb, 2025

Yes that's correct.

Max_admin 26 Feb, 2025

what if you add it using Javascript after the page is loaded ?

in JavaScript view:

document.querySelector(".nui.form").setAttribute("target", "main")
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.