Hi coder_number_9292,
If you want to use a custom validating logic, you need to use an unmanaged custom action DLL to do the validating. You can use the orca tool to edit the ControlEvent table to force the NextButton in the CustomTextA dialog (user interface) to run the custom action. And here are the detailed steps for your reference.
If you want to show an error dialog when the user didn’t type anything in the textbox, you can use orca tool to replace the following row in ControlEvent table
CustomTextA | NextButton | NewDialog | [CustomTextA_NextArgs] | CustomTextA_NextArgs<>"" | 1
With the following row.
CustomTextA | NextButton | NewDialog | ErrorDialog | EDITA1="" | 1
Hope this helps.
Best regards.
Rong-Chun Zhang