I have a custom content type (books); on submission of the content type, I want to add a confirmation form for the content type. How can I do that?

How can I append the confirmation form with content type form, and how are the values saved after positive confirmation?

  • You could accomplish this with jQuery as shown in my answer here. Although, my answer is for D7, the same principles will apply for D8.
    – No Sssweat
    Commented Jul 4, 2016 at 9:37
  • Thanks, this we can use. But am checking any Drupal method for that in D8 using form_alter and ConfirmFormBase
    – Anu Mathew
    Commented Jul 4, 2016 at 11:27
  • I assume you meant on submission of the node creation form. A content type is created from administrator users; it's rather difficult you need a confirmation form for that.
    – apaderno
    Commented Jul 4, 2016 at 11:46
  • Yes, but because of its a custom content type we are enabling it for all users, I need a confirmation before they submit to check what they have typed. Is that possible like bulk node delete confirmation and all ?
    – Anu Mathew
    Commented Jul 4, 2016 at 12:40


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.