code in view doesn't work

droogers

Member
Hello,

I have an article in joomla to make a iDeal payment. This works fine:
Code:
<p>{ccideal title="iDEAL" amount_by_user amount_text="Kies bedrag:" paymentid="pastoraat 31-5-2020" paymentid_text="Collectedoel" submit_button="Betalen" }</p>
When I add this code i a mysql view in fabrik I see the right text. But when I click on the submit button it doesn't work. Maybe there is something wrong with the syntax.
This is the code in the view:
Code:
concat('<p>{ccideal title="iDEAL" amount_by_user amount_text="Kies bedrag:" paymentid="pastoraat 31-5-2020" paymentid_text="Collectedoel" submit_button="Betalen" }</p>') as `test`
In the image you see the failure code when I inspect the code in my browser
2020-05-29_11h21_48.png
 
Last edited:
I don't know what ccideal is doing but I assume it's inserting a form
So you'll get nested form tags which will break.

Gesendet von meinem SM-G930F mit Tapatalk
 
Maybe this is the problem. How can I solve this?
This is the source code:
Code:
<form class='form-horizontal' title='iDEAL2' action='https://hervormdijsselstein.nl/?option=com_ccidealplatform&amp;view=ccideal&amp;layout=content_redirect' method='post' id='content_ideal1' name='content_ideal' style="display:inline;"><div class='ccidealplatform_content_plugin_title' style='text-align: center;'>iDEAL2</div>
<input type='hidden' name='extra_textfield_title_label' value='Form' /><input type='hidden' name='extra_textfield_title'  id='extra_textfield_title' value='iDEAL2' maxlength='100' />
<div class='ccidealplatform_content_plugin_image'><img src='https://hervormdijsselstein.nl/components/com_ccidealplatform/assets/images/select_iDEAL.jpg' alt='' /></div><div class='ccidealplatform_content_plugin_fieldset'><div class='idealcontent'>
<div class='control-group'><label  class='ccidealplatform_content_plugin_labels'>Kies bedrag: &#8364;</label><label class='ccidealplatform_content_plugin_labels'><input type='text' name='total' onkeyup="ajaxFunction(this.form,'amount_by_user',1)" onblur="ajaxFunction(this.form,'amount_by_user',1)" id='amount_by_user' class='ccidealplatform_content_plugin_fields' value=''/>
<span id='ajaxDivname1' style='display:none;float:right;'><img src='https://hervormdijsselstein.nl/components/com_ccidealplatform/assets/images/cross.png' width='16' height='16' alt='' /></span><span id='ajaxDivname11' style='display:none;float:right;'><img src='https://hervormdijsselstein.nl/components/com_ccidealplatform/assets/images/tick.png' width='16' height='16' alt='' /></span></label></div><div class='control-group'><label class='ccidealplatform_content_plugin_labels'>Collectedoel</label><label class='ccidealplatform_content_plugin_labels'>pastoraat 31-5-2020</label>
<input type='hidden' name='cont_extn' value='pastoraat 31-5-2020' />

<input type='hidden' name='hidden_order_number' value='3665cac48499d41a' /></div>
<div class='control-group'>
<div class='submit-container'><button type='submit' name='submit' onclick='return submitbutton(this.form,1, 1)' id='content_plugin_submit1' class='btn btn-success'>Betalen</button></div></div></div></div>
<input type='hidden' name='itemid' value='1934'/>
<input type="hidden" name="path" id="path" value='https://hervormdijsselstein.nl/' />
<input type='hidden' name='id' value=''/>

<input type='hidden' name='extn' value='Content_plugin' />
<input type='hidden' name='task' value='idealRedirect'/><input id="hidden_org" type="hidden" name="hidden_org" class="inputbox required" value=""/>
<input type='hidden' name='myMenuItemID' value='1934'/>
</form>
 
You can add such plugins in form or list intro or outro but not in an element.

Gesendet von meinem SM-G930F mit Tapatalk
 
This has nothing to do with Fabrik, it's HTML.You can't have nested form tags.

Gesendet von meinem SM-G930F mit Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top