- Issue created by @lovedrupal6
- 🇦🇫Afghanistan lovedrupal6
trying to get similar function to this https://techcrunch.com/wp-content/uploads/2019/09/HappyOrNot-3.png?w=139...
- Status changed to Postponed: needs info
over 1 year ago 1:54pm 3 August 2023 - 🇩🇪Germany jurgenhaas Gottmadingen
Not exactly sure what and how you would like to lay out your workflow here. Is this about a form, that the user fills in and then hits "Save" or "Submit"? In those cases, you're most likely interested in form submit or form validation events. If not, could you please describe, in more detail, how the flow should be?
To learn more about forms in ECA, please have a look here: https://ecaguide.org/plugins/eca/form/#usage
- 🇦🇫Afghanistan lovedrupal6
Apologies for the delay in replying. Dont think I am any closer to getting this working.
The purpose of the page is to collect feedback (airport/superstore style with 5 images depicting a likert scale from Excellent, Good, Fair, Poor, Very Poor. Completing the form is to be as quick as possible.
Have a webform with a image select field of 5 images. Want the webform to be saved/submitted as soon as an option is selected without the need to hit save/submit button.
Intent to have the webpage with this form themed with only the image select options displayed similar to https://techcrunch.com/wp-content/uploads/2019/09/HappyOrNot-3.png?w=139.... The user filling this will only need to make a selection and the webform should then be saved/submitted. The page then reloads itself with a new form and this function is available within webform itself.
Have tried with 'presave content entity' and 'initialize content entity' as the starting point.
- 🇩🇪Germany jurgenhaas Gottmadingen
Well, ECA is a processor in the backend of your Drupal site. What you're trying to do is some automation in the browser, i.e. in the frontend. That's not something that ECA was build for. You would have to find something which reacts in the browser to one of the options being selected and submitting that form by some javascript in the browser.
ECA can react upon events in the backend, but selecting an option ion the webform does not trigger any event. That's why ECA can't do anything about that.
- Status changed to Closed: outdated
9 months ago 1:58pm 2 April 2024