The iframe sandbox attribute

The "Submit" button will submit the form in the inline frame.

Since the sandbox attribute is set to an empty string (""), the submission of the form in the inline frame will be blocked.

Add "allow-forms" to the sandbox attribute, to allow form submission.