Changes page in Divi
-
I’m using the Divi theme from Elegant Themes. It has a built in page builder for page layouts. Within a fullwidth slider, one of my slides has this code:
<h4 class=”et_pb_slide_subheadline”>Gift Certificates available here!</h4>
<div class=”evoucherWidget”><script type=”text/javascript”>// <![CDATA[
function formSubmit()
{
document.getElementById(“evoucherForm”).submit();
}
// ]]></script></div>
<form id=”evoucherForm” action=”https://vistalagoadventurepark.resmarksystems.com/res/purchase” method=”get”>- <label for=”itemSelect”>Select:</label><select id=”itemSelect” class=”evoucherSelect” name=”evoucherId”>
<option value=”3″>$100 for Vista Lago Adventure Park ( Value $100.00 | Price $100.00 )</option>
<option value=”1″>$25 for Vista Lago Adventure Park ( Value $25.00 | Price $25.00 )</option>
<option value=”2″>$50 for Vista Lago Adventure Park ( Value $50.00 | Price $50.00 )</option>
</select> - <label for=”quantitySelect”>Quantity:</label><select id=”quantitySelect” class=”evoucherSelect” name=”quantity”>
<option selected=”selected” value=”1″>1</option>
<option value=”2″>2</option>
<option value=”3″>3</option>
<option value=”4″>4</option>
<option value=”5″>5</option>
</select> - <button class=”evoucherSubmit” value=”BUY”>Buy Now</button>
</form>
After using tao-schedule-update to update a different part of the page (not anywhere within the section containing the slide) the code within that slide is changed to:
<h4 class=”et_pb_slide_subheadline”>Gift Certificates available here!</h4>
<div class=”evoucherWidget”>// </div>
<form id=”evoucherForm” action=”https://vistalagoadventurepark.resmarksystems.com/res/purchase” method=”get”>- <label for=”itemSelect”>Select:</label>
$100 for Vista Lago Adventure Park ( Value $100.00 | Price $100.00 )
$25 for Vista Lago Adventure Park ( Value $25.00 | Price $25.00 )
$50 for Vista Lago Adventure Park ( Value $50.00 | Price $50.00 ) - <label for=”quantitySelect”>Quantity:</label>
1
2
3
4
5 - <button class=”evoucherSubmit” value=”BUY”>Buy Now</button>
</form>
As you can see, it stripped vital parts of the code. I would LOVE to use your plugin, but as long as it does this, I cannot. Hopefully you have some idea of what is causing this and it’s fixable. Thank you, and have a great day.
Ben
- <label for=”itemSelect”>Select:</label><select id=”itemSelect” class=”evoucherSelect” name=”evoucherId”>
- The topic ‘Changes page in Divi’ is closed to new replies.