Delete and Edit not Working Properly

Hi Ron,

You can use the method ‘confirm’ from the five’s object to customise the error message and the buttons’ text. This method is a client-side method and allows you to call a callback function to perform further logic based on your button click.

This is the function signature:
five.confirm(message: string, negativeLabel: string, positiveLabel: string, callback: function)

This is a simple example of how you can use it:

five.confirm('Are you sure you want to delete this record?', 'No', 'Yes', function callback(response){

    five.showMessage('Your response was ' + response)

})

Regards,
Elton S