Hello, I want to create a form a "Reply" with chronoform but I don't have idea how to insert the mail (present in the user table) of the recipient on a non-visible. Do you have any suggestions?
Hello and thanks 1000
Salvo
Hello and thanks 1000
Salvo
In a form "Rispondi", how can i add a dynamic url? The url is a address of a ad because i developing a site of ad.
Can you help me?
Thanks 1000.
P.S. I don't speak english very well
Regards
Salvo
Can you help me?
Thanks 1000.
P.S. I don't speak english very well
Regards
Salvo
Hi Salvo,
You can build a URL using PHP in a Custom Code action. If you post more detail that may help give a better answer.
Bob
You can build a URL using PHP in a Custom Code action. If you post more detail that may help give a better answer.
Bob
For example I have a this ad: "http://www.subito.it/auto/signora-cede-lancia-y-1-2-sempre-in-box-poki-kilo-milano-41377980.htm"
and I want add the url in the form "Rispondi".
The site "subito.it" isn't the my site, but a site of example. In the end of page there is a form "Rispondi" and you can write at the advertiser a mail with the form "Rispondi" and in the mail there is a url of ad.
I hope I have explained it better.
Thanks a lot.
Regards
Salvo
and I want add the url in the form "Rispondi".
The site "subito.it" isn't the my site, but a site of example. In the end of page there is a form "Rispondi" and you can write at the advertiser a mail with the form "Rispondi" and in the mail there is a url of ad.
I hope I have explained it better.
Thanks a lot.
Regards
Salvo
Hi Salvo,
Sorry, I really don't know where this URL comes from?? I'm confused.
Bob
Sorry, I really don't know where this URL comes from?? I'm confused.
Bob
Hi, in my form RISPONDI I want to add the url of site.
I try with this code:
echo ‘http://’.$_SERVER[‘SERVER_NAME’].$_SERVER[‘REQUEST_URI’];
in the tab Template of the event onSubmit->Email1, but it does not arrive the mail.
Also, when i click the button Submit, doesn't close the Form Rispondi!
In attached two file for example!
Do you have any suggest for me?
Thanks
Regards
Salvo
I try with this code:
echo ‘http://’.$_SERVER[‘SERVER_NAME’].$_SERVER[‘REQUEST_URI’];
in the tab Template of the event onSubmit->Email1, but it does not arrive the mail.
Also, when i click the button Submit, doesn't close the Form Rispondi!
In attached two file for example!
Do you have any suggest for me?
Thanks
Regards
Salvo
Hi rispondi,
Please try:
This gives:
I'm not clear what URL you want to include here.
I also don't understand the Submit button problem? Please post a link to the form so I can take a quick look.
Bob
Please try:
<?php
$uri = JFactory::getURI();
echo "URL Annuncio: ".$uri->toString();
?>
This gives:
URL Annuncio: http://domain.com/index.php?option=com_chronoforms&chronoform=test_form_name&event=submit
I'm not clear what URL you want to include here.
I also don't understand the Submit button problem? Please post a link to the form so I can take a quick look.
Bob
Hi,
I try it, but the url it's not correct because I want the url of ad and I don't want the url of form.
I have a other question. I try this post (http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=279477#p279477) for recovery of the user mail, but I have not install the "Load User info [GH] action", is it fundamental?
There is a three image for explain my question:
- in the first there is a ad;
- in the second there is a form "Rispondi". This form open after you click the button blue Rispondi and I want that the form sends the email to administrator site and the mail of the user that add the ad. The mail must contain not a url of form, but the url ad that is in the second;
- in the three image there is a messagge that appears after click button Submit. It's correct but I want that the form closes after click button Submit.
Can you help me?
I hope that I explained myself better.
Regards
Salvo
P.S. I don't speak english very well!!!🙂
I try it, but the url it's not correct because I want the url of ad and I don't want the url of form.
I have a other question. I try this post (http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=279477#p279477) for recovery of the user mail, but I have not install the "Load User info [GH] action", is it fundamental?
There is a three image for explain my question:
- in the first there is a ad;
- in the second there is a form "Rispondi". This form open after you click the button blue Rispondi and I want that the form sends the email to administrator site and the mail of the user that add the ad. The mail must contain not a url of form, but the url ad that is in the second;
- in the three image there is a messagge that appears after click button Submit. It's correct but I want that the form closes after click button Submit.
Can you help me?
I hope that I explained myself better.
Regards
Salvo
P.S. I don't speak english very well!!!🙂
Hi Salvo,
Bob
I have not install the "Load User info [GH] action", is it fundamental?
No it's not required to get the email.The mail must contain ... the url ad that is in the second
Then you need to add an identifier for the ad to the link that calls the form.I want that the form closes after click button
You can probably do this with JavaScript but I don't know what code you need. The Joomla! modal window docs may help.Bob
This topic is locked and no more replies can be posted.