My sql table has four columns: rulename, delaer_id, type and status. i\'m trying to validate form and a record using api service and the code is as follows. i don\'t want va