The form definition (.xsf) file is missing the submit element (xsf:submit) - Infopath
Este mensaje de error se presenta cuando se encuentra deshabilitada la opción de "submit" del formulario Infopath y se llama al método XDocument.Submit(); desde un botón personalizado.
El mensaje completo del error es:
"Error - Infopath cannot submit the form.
Infopath cannot submit the form because the form template does not support it.
The form definition (.xsf) file is missing the submit element (xsf:submit)"
Para resolver esto, hagan lo siguiente:
- Clic en "Tools" > "Submitting Forms..."
- En el cuadro de diálogo seleccionar la opción "Enable submit commands and buttons"
Listo...!!! espero les sirva.