42 Posts
Elric
3 years ago
0
Topic

Hello everyone and thank you for joining me in this little quest,

I'm using a custom html form with multiple tabs and fields.
Whenever the user click on the save button I'd need the browser to direct him to the last tab of the actual form (I'm using the nonumber tabs so every tabs has a #link) but I'm stuck since I cannot have have, obviously, a static link to the form of the article he's editing.
I was thinking about some Machiavellian ploy like doing a check when the form is loaded, if a specific parameter (the article id) is not null I can make a script that change the class of the last tab to be active, but I don't know if there is some easier way,

any thoughts on that?

Thank you very much,

R.

Get a VIP membership