It would be really helpful if the DISPLAY QUESTION / DISPLAY MESSAGE
feature could be expanded to take more parameters so we are able to dynamically set the Title, Message/Question, and the Button Text, as well as a Specific CSS class to use for that Dialog if you don't want to generally override all Question Dialogs. If left blank the default can be used.
As an example: DISPLAY QUESTION ('Delete Inspection','Are you sure you want to delete this inspection?','Yes, Delete!','No, Don't delete','Cancel','.my-custom-question')
.
This would then create a Question Dialog with the provided title, text, buttons, and css class, that is more relevant to the current context instead of just always saying 'Please Confirm', with Buttons 'Yes', 'No', 'Cancel'.
Just a thought.... Think it would be great and help a lot to have that flexibility in terms of the end user experience.