Hi,
For an edit box with the property MY_EDIT, what you need can be done by following these steps:
- go to the
Custom Actions page
- create a new
ScriptInline custom action under "UI Custom Actions"
- set the "Script Text" field to something like this:
Code: Select all
MsgBox "Please enter a value in the MY_EDIT field"
- go to the
Dialogs page and select the dialog which contains the MY_EDIT edit box
- select the "Next" button and go to the "
Published Events" tab
- condition the "NewDialog" control event with the property of the edit box (MY_EDIT)
- create a "DoAction" control event which runs the ScriptInline custom action
- condition this event with the property of the edit box preceded by NOT (NOT MY_EDIT)
This way, the next dialog will be shown only if the edit box with the property MY_EDIT is not empty. Otherwise, the custom action will run and it will show a custom message to the user.
Please note that this can be done only in an Enterprise project. Also, for the above explanation I used the MY_EDIT property for the edit box; for your project you can use any property you want for your edit box.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging