I am creating a new submit hanlder and I am not quite sure what are SUBMISSION_REQUIRED and RESULTS_PROCESSED really meant for.

I searched for those keys module-wise and they simply seemed to be used for some admin warnings around whether the form should be allow to not be saved, and both things seems to imply the same thing, wouldn't them?

Or are them different things and if so, what are they should be used for within the handler itself. SUBMISSION_REQUIRED is the one it seems more clear about telling the admin not to allow disabling webform submissions, but if you have SUBMISSION_REQUIRED or even SUBMISSION_OPTIONAL, how would RESULTS_PROCESESED or RESULTS_IGNORED affect the behavior of the submission handler?

Comments

hanoii created an issue. See original summary.

jrockowitz’s picture

SUBMISSION_REQUIRED means that submissions must be saved to the database. Used by the scheduled email handler.

RESULTS_PROCESSED indicates that submissions are processed by a third party service and do not have to be saved to the database.

hanoii’s picture

but isn't then RESULTS_PROCESSED and SUBMISSION_OPTIONAL the same thing?

jrockowitz’s picture

SUBMISSION_REQUIRED means a submission must be saved and RESULTS_PROCESSED means a submission is saved.

The schedule email handler requires that a submission is saved. (ie SUBMISSION_REQUIRED)

The remote post handler saves submissions to remote server. (ie RESULTS_PROCESSED)

jrockowitz’s picture

Status: Active » Closed (works as designed)