Webform alter with ajax submit callback - field values are empty in callback


Someone guided me in the right direction. My Webform Confirmation setting was set to 'None'. After setting it to 'Inline', calling $form_state->getValues() finally returns the form values.

Tags: Ajax / Webforms

Similar questions

Alter field (multiple values) to add more items/values of another field
In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values). I need to display all images of parent product AND images of their childrens (variations). Another case are to display images of a field but if empty, I want to display images of another images field. What's the good way for this? Related...
Missing my custom ajax field values by image field in node form alter
I have created new content type and added two taxonomy reference field (select list) both referenced to same vocabulary "car" and one Image field with cardinality = 6, In car vocabulary listed brands and models like: In my content type, first reference select list depth setting is 1, so displays only brands, In Second reference select list (Models)...
Fill Date field in a hook form alter with ajax callback
I'm trying to populate some fields via Ajax. Is working good with textfields, but no with date field and select list. After the rebuild of the form the date field is empty and the select too. Here my code:
Forms alter submit button callback not working
I have managed to override a profile2 form using hook form alter. After adding a second submit button to the form successful an issue arose. I can not get the call back function to work. Below is the hook and the call function. Can anyone see a issue with the code? Thanks for the responses. The reason I am trying to add another submit button is tha...
Drupal 6: form_state values empty on submit
I'm trying to create a custom form in Drupal 6 and everything seems to work okay with the code below including when submitted a new entry is created in the database however all the $form_state values are empty. What am I missing?
Drupal 6 Multistep Forms: form_state values empty on submit
I'm having trouble getting the values from a multistep form to insert into the database. All I'm getting is empty values for each field. Here's the code: The only value that makes it into the DB is the 'created' date timestamp. I ran a DPM to check if the values are being carried over between form steps, and they are, I just can't figure out how to...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.