What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Is there a way to use the conditional logic feature to "auto fill" a pe

    Asked by salrisser on October 17, 2014 at 11:00 AM

    Is there a way to use the conditional logic feature to "auto fill" a persons name throughout a form? I have a long form that has the words "Bride" and "Groom" throughout it, in radio button fields and multiple choice fields, etc. I would like the Bride and Groom to fill in their names on the first page and for all of the other spots throughout the form that currently say "Bride" and "Groom" to automatically fill with the correct names. Is there a code to do this with?



    This is a re-post of a comment on Smart Forms Using Conditional Logic

    name long form multiple choice fill
  • Profile Image
    JotForm Support

    Answered by david on October 17, 2014 at 11:48 AM

    Hi,

    This is very possible using conditional logic.  Here is our guide on how to do so:

    http://www.jotform.com/help/286-How-to-Populate-Field-with-a-Value-from-another-Field

    Essentially you just set up a condition that updates the other fields that you wish, based on the initial field:

    Make sure to check the "add field to equation as text by default" box.  Then do so for each field you would like to output to.  Here is an example form I made to show you what I mean:

    http://form.jotformpro.com/form/42894731137965?

    Let us know if you have any further questions or need any help getting this set up and we will be happy to assist you.

  • Profile Image

    Answered by salrisser on October 17, 2014 at 02:51 PM
    Hi David;
    Thank you very much. I truly appreciate your assistance. I can see how
    this will work for stand alone fields, but what about just to replace
    single words within a larger field? An example of what I am trying to do
    follows.
    At the beginning of the form I ask for the couples "Formal names" and the
    names they prefer to e called throughout the ceremony. Then I want to auto
    fill those preferred names throughout the document in spots that now just
    say "Bride" and "Groom". An example of where they would be are in the
    radio button options for "Wedding Gathering Words" options on my form.
    *Gathering Words(Also referred to as the Invocation)OptionalMake one
    selection *
    Gathering Words - General Option 1


    Gathering Words
    />
    Bride and Groom, welcome to this beautiful moment in your lives.
    We are here today to share in the celebration of your wedding. Whether it
    is large or small, a wedding is always a wonderful occasion, because it is
    filled with excitement and with the hopes and dreams of a lifetime. But it
    is especially wonderful because it is filled with a deep and an abiding
    faith in another human being. We are here today to celebrate the love that
    you have for each other, and your guests are here to recognize and witness
    your decision to journey forth together through your lives, as marriage
    partners.
    Gathering Words - General Option 2


    Gathering Words
    />
    Bride and Groom, welcome to this beautiful moment in your lives.
    Today were here to unite your lives in marriage. This ceremony is an
    outward token of a truly sacred and inward union of your hearts, of which
    there could be no greater gift. Marriage is the symbol of the gift of love
    that makes two people one. To behold this love blossoming between two
    hearts is always a joy; and to behold the vows of two, to stand together
    through all of the changes of life, is a glorious moment of the soul. It
    speaks of the greater conviction by which people mutually rely upon and
    believe in one another.

    In a world where faith often falls
    short of our expectations, it is a wonderful tribute to two people to see
    them joining hands and hearts in perfect faith. So let us continue with
    this beautiful celebration of life and love.
    Gathering Words - General Option 3


    Gathering Words
    />
    Welcome to this beautiful place and this beautiful moment in the
    lives of Groom and Bride. We are all here today to witness their loving
    union. Air, water, fire, and earth may be the most basic essences of life,
    but it is love that makes it truly magical. Trust gives your lives
    character and strength, while passion adds excitement and spice. When you
    bring love, trust and passion together with commitment, it creates this
    wonder of marriage.

    Open your hearts wider than they have ever
    been, leaving them to rise up and meet these changes. Let them fill your
    spirits and souls. Abandon all previous disappointments and past events
    that may have held you back, and look forward toward the future with a
    fresh, renewed spirit and love at its strongest.

    Groom, when
    you tell Bride, "I love you," what you are really saying is, "Your
    happiness is everything to me and I want the best for you always."
    />
    Bride, when you tell Groom "I love you," what you are really
    saying is, "I am a part of you, and you are a part of me. Together we unite
    with great love and vision."

    And when you say, "I love you," to
    ...
  • Profile Image
    JotForm Support

    Answered by Kiran on October 17, 2014 at 05:50 PM

    It seems that your message is truncated in the post. As far as I understand and after checking your form, we can use this feature with the fields that can be recognized by Conditions Wizard. I see that the related text is entered into the options field as labels. Using conditions wizard, JotForm recognizes the option selected but it cannot recognize the fields inside a label. Hence it is required to have separate fields to auto-fill with the information.

    Hope this information helps. Since the message in your post is truncated, please let us know if we miss something in it.

    Please get back to us if you have any other questions. We will be happy to assist you.