Jump to content

[Solved] Admin Module Design: 4 Buttons, 1 Hidden Submit Form


Recommended Posts

I'm midway through developing a new administration module that uses 4 form buttons to pass variables to the final submit button.

 

The submit button is hidden as I don't want people in the admin console to fire it directly. I just want them to press one of the 4 buttons I've designed.

 

As I built this off the standardised module generator linked into the Prestashop validator, I'm wondering:

  • why buttons aren't recognised when fired as part of the Prestashop admin console. I've got breakpoints / alerts set up through the sequence & they're not firing.
  • As I've hidden but not disabled the submit button, does that break the overall Helperform structure?

 

Anyone have any clue on designing a complex admin form like I'm working on?

I figured it out - have the same form ID pass 4 different values

 

Edited by yesdev (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...