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

    Autogenerate gender and name

    Asked by ccross6032 on July 24, 2017 at 05:57 PM

    I'm a veterinarian working on a form to simplify my paperwork and discharges. Currently I'm using conditional logic to check off boxes that I want to show up in the patient record and client take-home discharges. It would simplify things considerably if I could auto generate gender pronouns (he versus she) and the patient Name in my final write up without having to manual re-enter and correct. Is this possible and if so, help? I'm not a programmer sadly and code is very confusing for me - so if the answer involved entering code, I'm remedial lol. Thanks! 

    Page URL:
    https://www.jotform.com/build/70962808689171

  • Profile Image
    JotForm Support

    Answered by Mike on July 24, 2017 at 08:00 PM

    Thank you for contacting us.

    Could you please provide us with some example of how it should look like? Please also explain what form fields are involved and where do you need to display the results.

  • Profile Image

    Answered by ccross6032 on July 24, 2017 at 08:41 PM

    Sure - thank you. 

     

    I've updated the form with an example for you. Hopefully it helps. On page 3, there's a section entitled "Hindlimb strengthening" and if "Front Paws on Low Box + Side Stepping" is checked, text will appear that says: 

    Instructions: Ask (dog's name) to place front paws on a wrist-height box; reward with a treat. Step into (him or her) until (he or she) sidesteps; reward. Repeat around box. Repeat other direction.

     

    I'm looking for a way to have the info in parenthesis in the instructions auto generate from the earlier fields - name of the dog and gender to indicate he/she or him/her. 

     

    make sense? thanks! 

  • Profile Image
    JotForm Support

    Answered by John_Benson on July 25, 2017 at 02:15 AM

    Hello,

    That is possible. You need to change the (dog's name) to {patientName} and the (him or her) to {sex}. Here's a screenshot so you can see the changes that I have made to my clone form:

    To find the Field IDs and Names shown in the screenshot, please follow this guide: https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names

    Result:

    I hope that helps. Let us know if you need further assistance.

     

  • Profile Image

    Answered by ccross6032 on July 27, 2017 at 10:27 PM

    Thanks! I'll give it a whirl :)