⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

unset_add() disables clone function - I want users to use clone button only



itrainng

itrainng
  • profile picture
  • Member

Posted 20 November 2019 - 13:17 PM

My Crud depends on predetermined templates

I want my users to use these templates with the "clone" button for already existing records.

When they use the "add" button they get lost in the weeds

When I disable the add button with unset_add() the clone button disappears

Is there a method or script to disable add but still allow clone