Magento 2.2 - How to Create a custom dynamic checkout formMagento2 - Modify Checkout pageMagento 2 - How to...

Virginia employer terminated employee and wants signing bonus returned

Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?

At what distance can a bugbear, holding a reach weapon, with Polearm Mastery, get their Opportunity Attack?

Good for you! in Russian

How to draw cubes in a 3 dimensional plane

In the quantum hamiltonian, why does kinetic energy turn into an operator while potential doesn't?

Could you please stop shuffling the deck and play already?

Does the nature of the Apocalypse in The Umbrella Academy change from the first to the last episode?

Accepted offer letter, position changed

How to secure an aircraft at a transient parking space?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

What is the magic ball of every day?

What are the practical Opportunty Attack values for a bugbear, holding a reach weapon, with Polearm Mastery?

How to detect if C code (which needs 'extern C') is compiled in C++

Why does Captain Marvel assume the people on this planet know this?

How is the wildcard * interpreted as a command?

Why was Goose renamed from Chewie for the Captain Marvel film?

finite abelian groups tensor product.

When a wind turbine does not produce enough electricity how does the power company compensate for the loss?

What Happens when Passenger Refuses to Fly Boeing 737 Max?

Motivation for Zeta Function of an Algebraic Variety

What was the Kree's motivation in Captain Marvel?

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

PTIJ: Should I kill my computer after installing software?



Magento 2.2 - How to Create a custom dynamic checkout form


Magento2 - Modify Checkout pageMagento 2 - How to affect street address in checkout forms with layout xml/ui argumentsHow to create autocomplete for city field(checkout form) Magento2?how to save custom form fields data in admin in magento 2?Magento 2 checkout input field validation possibilityCreate dynamic form in checkout step magento2Magento 2.2.1: Add Custom Upload file attribute in CheckoutCheckout Page Custom Field data is not saved in Magento 2Date issue on dynamic generated fields magento2Magento 1.9 How to add custom field in checkout registration form













0















i have to solve following situation and need some help for the way of the solution.



I have to create a custom checkout form, which input elements are defined in a db table. If the user has the related customer group, than i have to load the form fields and types and parse them as a new checkout form.



The fields are grouped so i want to use a fieldset for each of these.
In the fieldset i want to add the result entries ( table rows ) like
this:



foreach result as row:
row->FORMELEMT | row->DESCRIPTION | row->PRICE
endforeach


and finally a button.



So my question is, what is the best way to create a dynamic form like this?




  • Using a LayoutProzessor? But how can i add / create a custom Field where i can add the type of field, the description and the price?


  • Or do i have to use another way, directly with a KO Template and assign the Result Rows in a ConfigProvider, so i can get this in a KO Template?



Hope you understand the task.



Thanks for help,



Andre









share



























    0















    i have to solve following situation and need some help for the way of the solution.



    I have to create a custom checkout form, which input elements are defined in a db table. If the user has the related customer group, than i have to load the form fields and types and parse them as a new checkout form.



    The fields are grouped so i want to use a fieldset for each of these.
    In the fieldset i want to add the result entries ( table rows ) like
    this:



    foreach result as row:
    row->FORMELEMT | row->DESCRIPTION | row->PRICE
    endforeach


    and finally a button.



    So my question is, what is the best way to create a dynamic form like this?




    • Using a LayoutProzessor? But how can i add / create a custom Field where i can add the type of field, the description and the price?


    • Or do i have to use another way, directly with a KO Template and assign the Result Rows in a ConfigProvider, so i can get this in a KO Template?



    Hope you understand the task.



    Thanks for help,



    Andre









    share

























      0












      0








      0








      i have to solve following situation and need some help for the way of the solution.



      I have to create a custom checkout form, which input elements are defined in a db table. If the user has the related customer group, than i have to load the form fields and types and parse them as a new checkout form.



      The fields are grouped so i want to use a fieldset for each of these.
      In the fieldset i want to add the result entries ( table rows ) like
      this:



      foreach result as row:
      row->FORMELEMT | row->DESCRIPTION | row->PRICE
      endforeach


      and finally a button.



      So my question is, what is the best way to create a dynamic form like this?




      • Using a LayoutProzessor? But how can i add / create a custom Field where i can add the type of field, the description and the price?


      • Or do i have to use another way, directly with a KO Template and assign the Result Rows in a ConfigProvider, so i can get this in a KO Template?



      Hope you understand the task.



      Thanks for help,



      Andre









      share














      i have to solve following situation and need some help for the way of the solution.



      I have to create a custom checkout form, which input elements are defined in a db table. If the user has the related customer group, than i have to load the form fields and types and parse them as a new checkout form.



      The fields are grouped so i want to use a fieldset for each of these.
      In the fieldset i want to add the result entries ( table rows ) like
      this:



      foreach result as row:
      row->FORMELEMT | row->DESCRIPTION | row->PRICE
      endforeach


      and finally a button.



      So my question is, what is the best way to create a dynamic form like this?




      • Using a LayoutProzessor? But how can i add / create a custom Field where i can add the type of field, the description and the price?


      • Or do i have to use another way, directly with a KO Template and assign the Result Rows in a ConfigProvider, so i can get this in a KO Template?



      Hope you understand the task.



      Thanks for help,



      Andre







      checkout magento2.2





      share












      share










      share



      share










      asked 3 mins ago









      Andre BubnerAndre Bubner

      18114




      18114






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f265378%2fmagento-2-2-how-to-create-a-custom-dynamic-checkout-form%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f265378%2fmagento-2-2-how-to-create-a-custom-dynamic-checkout-form%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown