This sample code shows how to display error messages on kintone records. In this particular example, the user must choose a value for the radio button field other than the default value - otherwise an error will show up on the field and the record.
Sample Image
Sample Code
Notes
Refer to the Tutorial page, on how to add scripts to your app.