Forums

Form "Rispondi"

playpaf 01 May, 2012
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
playpaf 04 May, 2012
Thanks for your post.
I can try this solution and let you know!

Regards
Salvo
playpaf 05 May, 2012
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
GreyHead 05 May, 2012
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
playpaf 05 May, 2012
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
GreyHead 05 May, 2012
Hi Salvo,

You can add an ordinary HTML <a> link in the Email Template.

Bob
playpaf 05 May, 2012
Yes, but how can I get the url of ad?

Thanks

Regards
Salvo
GreyHead 05 May, 2012
Hi Salvo,

Sorry, I really don't know where this URL comes from?? I'm confused.

Bob
playpaf 14 May, 2012
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
playpaf 17 May, 2012
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!!!🙂
GreyHead 18 May, 2012
Hi Salvo,

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.