SS
Asked
I use my inventory ID (which is unique) as the product name in SIM.
SIM does not require a product name to be unique, so it is possible to create duplicate entries.
How can I make SIM enforce unique product names?
SIM does not require a product name to be unique, so it is possible to create duplicate entries.
How can I make SIM enforce unique product names?
- MSAnsweredYes, there is no unique validation for product name in Simple Invoice Manager.
You can add unique validation `is_unique[products.name]` for name in products controller `app/controllers/Products.php`'s add method. - MSAnsweredThe form page should have `$_POST` that can be use to repopulate the fields OR you can use `set_value('field_name')`
- Login to Reply