Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

HTML Code Stripped from Description?
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 12
TOPIC: HTML Code Stripped from Description?
#60433
HTML Code Stripped from Description? 7 Years, 6 Months ago Karma: 0
Hello

I nearly have everything working how I want it. Except I am trying to add descriptions for the Personalities in my quiz, I need to add a couple of images and also Mailchimp form code. However after I add the code and save it, some of it gets stripped out on the results page, mainly the <fomr> tag, meaning the mailchimp form doesn't work properly. This is the code I am adding using the <> code ison:

<p><img style="float:left; margin-right:20px;" src="lyndatestserver.co.uk/oliviapersonal/wp-content/uploads/2017/06/Angels.png" alt="" width="200px"></p><h1>You are an Angel!</h1>
<p>Your results show that your main personality type is the Angel! Fill in your details below to get your full report in your inbox and find out what it means to be an angel and how it can affect and benefit different areas of your life.</p><img style="float:right; margin-left:10px;" src="lyndatestserver.co.uk/oliviapersonal/wp-content/uploads/2017/06/MoneyTypeReportImage-Angel-White.jpg" alt="" width="300px">

<form action="//oliviastefanino.us15.list-manage.com/subscribe/post?u=87b30cf28bd3080ce16207b23&amp;id=9aeb4cb2c7" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required><div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_87b30cf28bd3080ce16207b23_9aeb4cb2c7" tabindex="-1" value=""></div>
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
</form>

<h2 class="clear;">Your other Money type results:</h2>

Please advise?
Thanks!
The administrator has disabled public write access.
 
#60434
Re:HTML Code Stripped from Description? 7 Years, 6 Months ago Karma: 760
Hello,

The problem occurs because the editor removes <form> tag. We are going to add support of other editors (try to add support of WP TinyMCE editor) in a future version of the plugin. Currently we can create a simple plugin which will add support of [form]...[/form] shortcode. It will be replaced with <form> ... </form> tags. Is it acceptable for you as a temporary solution?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#60435
Re:HTML Code Stripped from Description? 7 Years, 6 Months ago Karma: 0
Thank you! Yes that sounds like it would be great.
But for my Mailchimp form to work I would need to have parameters in the form tag:
<form action="//oliviastefanino.us15.list-manage.com/subscribe/post?u=87b30cf28bd3080ce16207b23&amp;id=9aeb4cb2c7" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>

Is it possible witht he shortcode to add these parameters?

Thanks!
The administrator has disabled public write access.
 
#60436
Re:HTML Code Stripped from Description? 7 Years, 6 Months ago Karma: 760
Yes, sure. All parameters from [form] tag will be used in <form> tag. In other words it will look like [form ...] ... [/form] on backend and like <form ...> ... </form> on frontend.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#60437
Re:HTML Code Stripped from Description? 7 Years, 6 Months ago Karma: 0
So would I literally just use this:

[form action="//oliviastefanino.us15.list-manage.com/subscribe/post?u=87b30cf28bd3080ce16207b23&amp;id=9aeb4cb2c7" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate] <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required><div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_87b30cf28bd3080ce16207b23_9aeb4cb2c7" tabindex="-1" value=""></div>
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">[/form]

Would that work?
Thanks
The administrator has disabled public write access.
 
#60438
Re:HTML Code Stripped from Description? 7 Years, 6 Months ago Karma: 760
Download "ARI Form Shortcode" plugin here, install and activate it (Open "Plugins -> Add New" page and click "Upload Plugin" button). After this use the following code for personality description:

Code:


<p><img style="float:left; margin-right:20px;" src="https://lyndatestserver.co.uk/oliviapersonal/wp-content/uploads/2017/06/Angels.png" alt="" width="200px"></p><h1>You are an Angel!</h1>
<p>Your results show that your main personality type is the Angel! Fill in your details below to get your full report in your inbox and find out what it means to be an angel and how it can affect and benefit different areas of your life.</p><img style="float:right; margin-left:10px;" src="https://lyndatestserver.co.uk/oliviapersonal/wp-content/uploads/2017/06/MoneyTypeReportImage-Angel-White.jpg" alt="" width="300px"><p>

[form action="//oliviastefanino.us15.list-manage.com/subscribe/post?u=87b30cf28bd3080ce16207b23&amp;id=9aeb4cb2c7" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate]
</p><input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required=""><p style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_87b30cf28bd3080ce16207b23_9aeb4cb2c7" tabindex="-1" value=""></p>
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"><p>
[/form]

</p><h2 class="clear">Your other Money type results:</h2>



Open also "SETTINGS" tab on quiz settings page and enable "Support shortcodes ..." parameter.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12