I am trying to work out how you match what is typed in a text field with a record.
- A user chooses to delete a record
- modal comes up (data detail method)
- in the modal it has a text field and asks they to type the name of the record in the modal title to confirm delete
- Once the text matches the name the delete button is enabled
Question: how do you match the text with the repeat row record.
For example:
The button is disabled while the text field value does not match the repeat row record name:
(delete_plan_id.confirm_delete.value != pl_name)
This doesn’t work and assume I need to make the comparison dynamic but don’t know how to do that on front end?
Community Page
Last updated:
Last updated: