Score:0

add user input during webform custom action?

us flag

I have a simple webform with a few basic fields. It also has a private Radios - Other field for status with the following values: pending, confirmed, denied and other for administrative purposes.

These webform submissions are processed by a specific role using a view with custom actions: Confirm Registration action, Deny Registration action. These actions are working fine at the moment.

I would like to see if it's even possible to write another custom action which would set the status to the other value and display a prompt for the user to enter a custom reason which will then populate the other textfield.

Any pointers would be greatly appreciated.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.