1

I have a configuration form which extends ConfigFormBase.

How can I add a confirmation popup/page to give a message to the user that some field has certain value and do you wish to continue form submission?

I know there also is the ConfirmFormBase class but I don't have a clue how to implement this in my configuration form.

0

I'm not sure you could easily implement ConfirmFormBase with the config form. It might be easier to turn your form into a multistep form and have step 2 with a simple submit button/message for confirmation rather than trying to implement ConfirmFormBase

That should achieve essentially the same thing

  • OP already found ConfirmFormBase but they don't know how implement this in ConfigFormBase. – leymannx Dec 12 '18 at 10:26
  • Ah sorry I misread the question. Maybe the best solution would be to turn the form into a multistep form and have step 2 with a simple confirmation submit button rather than trying to implement ConfirmFormBase – Leigh Dec 12 '18 at 10:51

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.