Hi Christophe
Please try this url instead:
index.php?option=com_chronoforms5&chronoform=users-edit&event=test&tvout=ajax
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
hi,
now with tvout=ajax
<div class="semanticui-body G2-joomla chronoforms index">
{"reponse":"1"}
</div>
how to delete this f*** div?
URGENT please Max...
Hi Christophe,
The URL there refers to CFv5 but the 'semantic UI' code to CFv6 - which are you using here?
Is the div added in the Ajax response or on display after the response is received?
Bob
hi Bob,
CF6, CF5 is not installed
in ajax response the full request is
index.php?option=com_chronoforms6&view=form&chronoform=utilisateurs&event=verif&code_client=90051000&code_postal=21000&tvout=ajax
where event=verif is a custom code display json_encode
Thanks
Regards
Hi Christophe,
Thank you, what exactly is returned by the Ajax call? Can you see that in the web browser tools? Or can you post a link so we can take a look?
Bob
Hi Christophe,
If I go to the form and complete the Code Client and Code Postale then the Ajax function verif() is run but returns an error as there is no form name in the URL /widex5/index.php?option=com_chronoforms6&view=form&Itemid=340&code_client=112346&code_postal=29838&tvout=ajax
What is returned is an error response {"error":"Error, form does not exist."} - but there is no wrapping div included.
Bob
Bob,
Yes because there is this f*** div around json reply, you can see it via F12 network
And, if you run the ajax call you can see the div
Thanks for your help
Hi Christophe,
I see no div . . . I'm looking with F12 Network, but that may be because the form name and the event are missing from the Ajax URL.
Bob
Hi Christophe,
Yes but that isn't testing the response that is sent back to the form from the verif() function - what happens if you correct the URL there?
Bob
Hi,
In v6 you need to use tvout=view in the url instead of tvout=ajax
Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.