Timeline for Why is my custom webform submit handler not submitting?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 2, 2015 at 5:44 | answer | added | Gnuget | timeline score: 2 | |
Oct 2, 2015 at 4:15 | comment | added | Gnuget | question, do you want to doesn't matter which button is clicked the form be submitted? I replicate your problem and if I click the custom button the custom function is executed but not the form is not subbmited but if I click the default button the form is submitted correctly but the custom function not. | |
Oct 2, 2015 at 2:10 | history | edited | EmmyS | CC BY-SA 3.0 |
added 32 characters in body
|
Oct 2, 2015 at 2:09 | comment | added | EmmyS | @Gnuget - I also added a test log at the very end of the submit function, outside the if/elseif/else conditional. It's hitting both the "submitted 64" error and the "test end" error. So I can't figure out why the form data isn't submitting. | |
Oct 2, 2015 at 2:00 | history | edited | EmmyS | CC BY-SA 3.0 |
added 650 characters in body
|
Oct 2, 2015 at 1:58 | comment | added | EmmyS | @Gnuget - I originally had the entire code posted, but someone indicated that I shouldn't post all my code. No, there's no die or redirect in my custom function. I've added the code back to the OP. | |
Oct 2, 2015 at 0:56 | comment | added | Gnuget | Your create_vector_user_free_trial_form_submit function doesn't kill the process of the submit? I mean, it doesn't have a die(), or a redirect? if you add a dd("test"); at the very end of your function this test string is printed in the log? | |
Oct 1, 2015 at 23:03 | review | Close votes | |||
Oct 17, 2015 at 3:02 | |||||
Oct 1, 2015 at 22:46 | comment | added | EmmyS | I don't know! That's why I posted the question. I'm not super-familiar with module development or altering forms. I was following several examples I found online, including the link I posted. What parts do you think are unnecessary? | |
Oct 1, 2015 at 22:45 | history | edited | EmmyS | CC BY-SA 3.0 |
tried to clean up code to appease commenter
|
Oct 1, 2015 at 22:42 | comment | added | Mołot | Is all this code really needed to recreate your issue? Are you sure there aren't any parts you could simply remove, for sake of simplicity, and still have the behavior you want to ask about? | |
Oct 1, 2015 at 22:27 | history | asked | EmmyS | CC BY-SA 3.0 |