Home > Forum > Rules, JS, SQL > HTML button onclick + insert to dababase

HTML button onclick + insert to dababase
0

Is there a option to insert values do database (my own table) by the button added in html form?
My idea is like a picture I addend, but when I click on the button I get error

Message=Error occured during rule SQL Dodaj powiązanie (Id: 136) evaluation.
Source=WebCon.WorkFlow.Base
StackTrace=
at: Evaluation requested
at: Evaluation node: Rule
at: Evaluation node: SQL

InnerException:

Message=Error occured during rule SQL Dodaj powiązanie (Id: 136) evaluation.
Source=WebCon.WorkFlow.Base
StackTrace=
at: Evaluation requested
at: Evaluation node: Rule
at: Evaluation node: SQL

InnerException:

Message=Error getting data for DataConnection BPS_InternalConnection ID: 1 (Current BPS database)


The strange is, that when I reload page the insert is done correctly . Something autoinicjalize this button.

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings