new submit(formData) → {Operation}
Submit form data
Parameters:
Name | Type | Description |
---|---|---|
formData |
Object | Object including form data. |
- Source:
Returns:
- Type
- Operation
Example
submit(
fields(
field("@", function(state) {
return {
"xmlns": "http://openrosa.org/formdesigner/form-id-here"
};
}),
field("question1", dataValue("answer1")),
field("question2", "Some answer here.")
)
)