When I went to export a RASP Engine file, I ran into a validation issue with 2 of the fields.

It turns out the RASP Eng file format does not allow spaces to be in either the motor designation or name. However, RMTS will let you input spaces without issues. I see 2 ways to solve this problem:
- Update PyFormGen to allow an optional validation function. This would enable custom validations for future issues and allow the user to fix the error how they see fit by displaying a validation message and canceling the save.
- Escape spaces with a character like an underline in the engExportWidget okPressed function. This is easier but not as transparent to the user.
Let me know what way which way you to go and I'll post a PR.
When I went to export a RASP Engine file, I ran into a validation issue with 2 of the fields.
It turns out the RASP Eng file format does not allow spaces to be in either the motor designation or name. However, RMTS will let you input spaces without issues. I see 2 ways to solve this problem:
Let me know what way which way you to go and I'll post a PR.