Avatar

Level 2

Here's the code I'm using on the submit button:

xfa.sourceSet.DataConnection.open();

xfa.sourceSet.DataConnection.addNew();

xfa.sourceSet.DataConnection.update();

xfa.sourceSet.DataConnection.close();

app.alert("Record has been submitted to database");

Button4.execEvent("click");

Button 4 sends the data to the asp as HTTP Post.