this is what im working on (learning purpose only)
im new to this, so im not really sure what's the best way to get the input color element in there ($mform has no color picker), so i basically echo "<script>" all the things in the edit_form.php (all the DOM manipulations are handled by js)
v2 (you couldnt see the color picker, but it's there)
in v3 of the code i want to add the reset button like shown below
and it worked, but when it's summited, it redirects to a page where it says
before going to the index.php which is not the usual action.
i was wondering if anybody knows what the problem is? it only happens after the reset button is added. the functionalities all works fine. it's just the redirect page that's bothering me a bit.