OK. Found where the button can be classed as a "submit"..which allows you to enter attributes like "input" with a type string, BUT the editor only allows the entry of ONE input attribute.
If I try to enter more than one, the editor just erases all the "input" attributes that have been entered. What's weird is that it doesn't do it immediately..rather, after a few seconds it just wipes the fields clean.
What am I doing wrong? Or is this just a bug in BS4 Studio?
Thx for the link, but I already have a working "form". I just need to know how to integrate the working form I have using the BSS UI.
Is there a way to do this with-in the UI or must one "export" the entire BSS webpage and then make manual edits to incorporate the required functionality?
I have tried using the Form Component with a button defined as a type Submit. All the “hidden” fields are defined in the form prefaced with “type hidden”. The form attributes are:
method post
action https://secure.orderprocessing.com/customers/buynow?tpl_code=en;
type hidden;
vendor_id xxxx;
home_page http://www.mywebsite.com;
showaddr 1;
1-desc Product Windows Download;
1-cost 29.95;
1-qty 1;
ret_addr http://www.mywebsite.com/purchase/GatewayReply/PurchaseSuccess.html;
mername My Company Name, Inc.;
mertext "";
cust_id Unique-MSL-xxx;
acceptcards 1;
showcvv 1;
When the Submit button is pressed, the url in the action is visited and replies that there is no “vendor_id” field supplied.
I took the hidden attributes out of the form body and placed them in a Hidden Input Component in the form. Thinking that would work.
vendor_id xxxx;
home_page http://www.mywebsite.com;
showaddr 1;
1-desc Product Windows Download;
1-cost 29.95;
1-qty 1;
ret_addr http://www.mywebsite.com/purchase/GatewayReply/PurchaseSuccess.html;
mername My Company Name, Inc.;
mertext "";
cust_id Unique-MSL-xxx;
acceptcards 1;
showcvv 1;
When the Submit button is pressed, the url in the action is visited and replies that there is no “vendor_id” field supplied. This field is clearly defined in both examples above.
So without documentation, it’s kind of hard to determine why the BSS generated code does not work. One would expect that if a UI component were used that it should function without issues. Obviously, there is a setting, or a toggle, or some field the UI that needs something for this to work. The submit actually goes to the webpage as defined in the “action” field, but the BSS code fails to send the hidden input fields.