How to pre-populate textarea box in AJAXRecommend module

13 years 11 months ago #5836 by furnivalt
Is it possible to fill the textarea box on the AJAXRecommend form module with the default message the email recipient would receive by email?
I think my site visitors would like to know what message they will be sending their friends. This is a normal feature of "send to a friend" links on sites such ashe travel sites kayak.com or hotwire.com

Please Log in or Create an account to join the conversation.

13 years 11 months ago #5838 by Saka
It already sends the pre-defined text that you set in module parameters. The text box is only if user wants to add something.

The message that is sent is like:

Hello!

John (This email address is being protected from spambots. You need JavaScript enabled to view it.) invites you to visit Sakic.Net demo site
Go to: joomla15.sakic.net/

John tells you:
Check out this site.


Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

13 years 11 months ago - 13 years 11 months ago #5840 by furnivalt
Yes I undesrtand that, I just think that it would be good practice to let the users of the form know what message they will be sending.

Please Log in or Create an account to join the conversation.

13 years 11 months ago #5841 by Saka
Yes but in that case it could be used by spammers to send email they like. This way it's always a predefined text which can't be changed along with optional additional message.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

13 years 11 months ago #5842 by furnivalt
I see your point but the text would not have to be editable necessarily, it could appear above the textbox on the form. Thanks for answering this anyway.

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch