Can I change the color of an answer ?

  • flaviafigueiredo
    Asked on May 15, 2017 at 1:15 PM

    I wanna change the color of some field cause Im using "Edit link". Just to know which person wrote the answer.

    THANKS!!

  • Nik_C
    Replied on May 15, 2017 at 2:24 PM

    Could you please tell us on which form are you working on and which field would you like to change so we can help you?

    Also, do you want to change the color of the field in a form or in submission email?

    If it is the submission email field, then you can do that by editing the submission email body and just change the color of the field:

    Can I change the color of an answer ? Image 1 Screenshot 20

    We'll wait for your response.

    Thank you!

  • flaviafigueiredo
    Replied on May 15, 2017 at 6:38 PM

    https://form.jotformz.com/71156780354660

    In that form I can choose two persons, the person "Compras" will rewrite some fields if they are wrong in the "Edit Link", in that "Edit Link" I wanna the colors of the field that he wrote become red for example

  • Kevin Support Team Lead
    Replied on May 15, 2017 at 10:52 PM

    Thank you for the details. 

    If I'm correct on my understanding about your request, you want to highlight with red those fields with wrong information entered. Unfortunately, that will not be possible to achieve, it would require to compare the data with an external resource or with information on hidden fields in the form, but it will also need to work only while editing the submission. 

    You may want to take a look to our API in order to get the submission and edit it with your custom code, this way you could develop a code to achieve what you want. 

  • flaviafigueiredo
    Replied on May 16, 2017 at 6:09 PM

    Sorry, I Did not explain corrrectly.

     

    Example:

    What type are you?

    (X) Fornecedor

    () Compras

    What is the color of the White horse of Napoleon?

    A: White

     

    Then I will receive an email that I can edit the form

     

    What type are you?

    () Fornecedor

    (X) Compras

    What is the color of the White horse of Napoleon?

    A: Brown, his name is White

     

    Then I will receive a new email, in the field "What is the color of the White horse of Napoleon?" I wanna the answer red

    THANKS!!

     

  • Kevin Support Team Lead
    Replied on May 16, 2017 at 7:07 PM

    Thank you for the details.

    There is not a way to change the color to the same field, it is not possible to know when the field has been edited and set the font or background color based on this. 

    However, I think there is a workaround that may work for you, you will need to add the exact same questions to your form, you will have two identical questions while editing your form, but you will only show one. 

    The Get Form Page URL widget will help to hide the second question (this will help us to correct the answer), you will find the widget here: https://widgets.jotform.com/widget/get_form_page_url 

    This guide will help you adding the widget: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form 

    Can I change the color of an answer ? Image 1 Screenshot 50

    With the widget you will be able to know if the submission is being edited so you can set up conditions based on this, for example, I want to show the duplicated questions while the form is being edited only, so the condition should be like this: 

    Can I change the color of an answer ? Image 2 Screenshot 61

    Now, you only need to edit the email notification and/or auto-responder to set the text color to red, this only for the duplicated questions. 

    Can I change the color of an answer ? Image 3 Screenshot 72

    Now, since the first time only the first questions will be displayed, the first email notification and email auto-responder will only contain the normal text, once you edit the submission, if you correct any answer in the second fields, they will be displayed in the email showing the red text, also showing the original answer. 

    Example: 

    Can I change the color of an answer ? Image 4 Screenshot 83

    You can also take a look on my cloned form to see how  it should work: https://form.jotformpro.com/71357488141965 

    Follow this guide in order to clone it: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Hope this helps. 

  • flaviafigueiredo
    Replied on May 17, 2017 at 3:40 PM

    Thanks, it is a good way. However, I need to replace the answer in the field, I cant have two equal questions

  • Nik_C
    Replied on May 17, 2017 at 4:20 PM

    I'm sorry, but I don't see another possible way to do that aside what my colleague suggested since you need to have updated answers bolded/colored, I just don't see another way since you can not know what will be updated. 

    If I find some other possible way I will update you.

    Thank you!