By ktsuser on
I am working to change the behaviour of closedQuestion module. Main objectives are
-Remove the submit button
-Shows the instant feedback as soon as user drags and drops the item without pressing the submit button
I understand that ClosedQuestion works with the Form API to render the end user's page, but dont know where should I start to acheive mentioned objectives.
Has anyone tried similar things, please guide me?
Thanks in advance
Comments
JQuery is your best friend (i think)
I would solve it with Javascript/Jquery:
1. I would let Javascript hide the buttons
2. I add a listener to the used jQuery UI drag/drop event, and let the listener function trigger the submit-button 'click' event.
In doing so, you hardly change anything to the CQ module, which is good.