Skip to main content
Added a screenshot; Clarified that I know about the replicate function; Clarified that I'm using Laravel Nova 4
Source Link
Eric K
  • 726
  • 10
  • 26

Custom Action Buttons on Form in Laravel Nova 4

I am trying to create a custom button at the bottom of a resource that will save the record and then take all of the information in that record and duplicate it into another record.

Laravel Nova Buttons

This duplicated/copied information would then give the user a jumpstart to enter another record. Right now the only actions on the Create and Update pages are Create/Update, Create/Update and Add Another but those two buttons don't fit all circumstances. And the last option just provides a blank form. I want the previously entered information to be auto-added to the form to save time.

And I am aware of the replicate function. But this requires the record to be saved and the user to return to the record and then select the replicate option. When I have users entering hundreds of items at a time, this extra step is very time consuming.

Can somebody help me figure out a way to add additional buttons to the forms so that I can extend the create and update functionality?

Custom Action Buttons on Form in Laravel Nova

I am trying to create a custom button at the bottom of a resource that will save the record and then take all of the information in that record and duplicate it into another record. This duplicated/copied information would then give the user a jumpstart to enter another record. Right now the only actions on the Create and Update pages are Create/Update, Create/Update and Add Another but those two buttons don't fit all circumstances. And the last option just provides a blank form. I want the previously entered information to be auto-added to the form to save time.

Can somebody help me figure out a way to add additional buttons to the forms so that I can extend the create and update functionality?

Custom Action Buttons on Form in Laravel Nova 4

I am trying to create a custom button at the bottom of a resource that will save the record and then take all of the information in that record and duplicate it into another record.

Laravel Nova Buttons

This duplicated/copied information would then give the user a jumpstart to enter another record. Right now the only actions on the Create and Update pages are Create/Update, Create/Update and Add Another but those two buttons don't fit all circumstances. And the last option just provides a blank form. I want the previously entered information to be auto-added to the form to save time.

And I am aware of the replicate function. But this requires the record to be saved and the user to return to the record and then select the replicate option. When I have users entering hundreds of items at a time, this extra step is very time consuming.

Can somebody help me figure out a way to add additional buttons to the forms so that I can extend the create and update functionality?

Source Link
Eric K
  • 726
  • 10
  • 26

Custom Action Buttons on Form in Laravel Nova

I am trying to create a custom button at the bottom of a resource that will save the record and then take all of the information in that record and duplicate it into another record. This duplicated/copied information would then give the user a jumpstart to enter another record. Right now the only actions on the Create and Update pages are Create/Update, Create/Update and Add Another but those two buttons don't fit all circumstances. And the last option just provides a blank form. I want the previously entered information to be auto-added to the form to save time.

Can somebody help me figure out a way to add additional buttons to the forms so that I can extend the create and update functionality?