Home › Forums › Quform WordPress › Popup Link with Email passed as parameter
- This topic has 8 replies, 2 voices, and was last updated 7 years, 6 months ago by Ally.
- AuthorPosts
- August 30, 2016 at 5:49 pm #19778ashishpatel1992Participant
Hello,
I want to build a form in which Email should goto recipient who’s email address is passed in shortcode.
Form has following elements:-
Name, UserEmail, Message, Captcha
Example
[iphorm_popup id="1" name="My form" email="xyz@domain.com"] [/iphorm_popup]
This should output as
An Image when clicked opens the form with the destination email as xyz@domain.com and replyto email should be UserEmail. Any ideas how can I implement this?September 2, 2016 at 8:46 pm #19810AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 3, 2016 at 2:01 pm #19827ashishpatel1992ParticipantHello,
I have created the plugin and placed the code, but upon activation I get following error “The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”Also, I had added Hidden Element and entered the parameter name, replaced the ipphorm_1_1 and the other one with too.
Also Verified the Form ID.
There is no popup appearing on clicking image.
After debugging, i see some script code added just after the image, but it does nothing. Also Verified that there is no script error in console.
May be I am wrong at some point. kindly correct me.
Thanks.September 3, 2016 at 3:14 pm #19828ashishpatel1992ParticipantHello,
I was able to make it work by enabling fancy box, and for the Plugin activation error I had fixed by changing encoding to UTF-8.I have one small doubt when I have Form id as 2.
Then what will be the final code that I will require to put in functions.php?
As there was small confusion.September 3, 2016 at 7:42 pm #19830ashishpatel1992ParticipantHello Again,
Finally Everything works except the Forum Submission Emails.
As I can see When form is submitted Email goes to the default recipient in settings.
But the email should be delivered to $mailer->addAddress($recipient);
Only this is not working. Any suggestions?September 3, 2016 at 7:55 pm #19831ashishpatel1992ParticipantSorry for lots of emails. Issue is fixed. I had uploaded it as separate plugin but forgot to activate it.
October 10, 2016 at 12:37 pm #20079ashishpatel1992ParticipantHello,
I have an additional form element to do.
Like we have
[iphorm_popup id=”1″ name=”My form” values=”email=xyz@domain.com”][/iphorm_popup]in this I want to pass a a parameter named companyName
[iphorm_popup id=”1″ name=”My form” values=”email=xyz@domain.com&companyName=xyz” ][/iphorm_popup]and I want to use this companyName inside html block.
LikeWhen popup form opens
I want to have
October 10, 2016 at 12:37 pm #20080ashishpatel1992ParticipantOctober 12, 2016 at 10:32 am #20089AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.