1

Is it possible to add a sitecore form field to a form with javascript and if so, how should I approach it?

8
  • Hi Nick - could you give more details about your requirement? Do you mean from an admin screen within the CMS? Editing from the delivered site? How is the user going to add a field?
    – Richard Seal
    Jun 16, 2020 at 14:26
  • Once I create the form, I would like to attach some javascript code so that when the user clicks a button on the form another sitecore form input field is added to the form. @RichardSeal
    – Nick
    Jun 16, 2020 at 14:31
  • To clarify further, I mean once I create the webpage and add the form to it
    – Nick
    Jun 16, 2020 at 14:40
  • Is it mandatory for the input fields to be in two different forms?
    – adarsh
    Jun 17, 2020 at 16:29
  • @adarsh it is the same form but I just want to dynamically add form elements on the click of a button
    – Nick
    Jun 17, 2020 at 19:28

0

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.