I have a custom form (created programmatically). I want to keep the AJAX submission mode. I would like to render the fields of the form in a region SIDEBAR and then the results in the region CONTENT.

I was thinking about putting in two separated blocks but I have no idea on how to handle this in terms of template and result synchronization.

Does anyone have any idea on how to do this? Is it possible?

  • You are mentioning AJAX, then this is no problem. You can target with AJAX any DOM element of the page, also in a separate block. For a non Ajax fallback your result block would need to fetch the submitted data from where you have submitted it.
    – 4k4
    Oct 1 at 9:14

Your Answer

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

Browse other questions tagged or ask your own question.