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.