How to pre-populate textarea box in AJAXRecommend module
- furnivalt
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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
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.
- Saka
- Offline
- Administrator
13 years 11 months ago #5838
by Saka
Emir Sakic
www.sakic.net
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:
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.
- furnivalt
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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.
Last Edit: 13 years 11 months ago by furnivalt.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
13 years 11 months ago #5841
by Saka
Emir Sakic
www.sakic.net
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.
- furnivalt
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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.