Change Design of Button

  • thomasadam498
    Asked on July 30, 2021 at 1:39 PM

    Hi!

    Can you please change Design (Size, Color etc.) of the "Verify Email" Button exactly like The "upload CV" Button?

    https://form.jotform.com/212103705635345

    Thanks very much

  • Yau_C
    Replied on July 30, 2021 at 9:13 PM

    Hi,

    You may apply the following CSS:

    button#mailSubmit {
        background: #9b9b9b;
        color: #fff;
        padding: 0.3em 0.5em;
        border: none;
        box-shadow: 0.7px 0.5px #000;
        font-weight: bold;
        text-shadow: none;
    }


    iframe#customFieldFrame_44 {
       height: 55px;
    }


    Result:

    1627693887 6104a33f3ced9  Screenshot 10

    Let us know how it goes.

  • thomasadam498
    Replied on August 2, 2021 at 10:46 AM

    Looks great!

    Thanks!

    Could please adapt a few more things?

    I have tried on my own but it do not work.

    One:

    Error: Invalid e-mail! = Text Color #9b9b9b

    Two:

    The verification code has been sent to ...

    Check your email inbox and paste the code below to complete verification.

    = Text Color #9b9b9b

    Three:

    CONFIRM CODE and RESET EMAIL Button should look like VERIFY EMAIL Button = Design, Color etc.

    Four:

    Your email has been successfully verified. = Text Color #9b9b9b


  • Amin JotForm Support
    Replied on August 2, 2021 at 1:33 PM

    Hi again,

    I see that you removed the Email Validator widget from your form.

    Please add it again so we can provide the proper CSS code needed.

  • thomasadam498
    Replied on August 2, 2021 at 2:30 PM

    Sorry!

    You are right!

    I`ve replaced form.

    This would be the one ...

    https://form.jotform.com/212112828637353

    Thanks

  • Jed_C
    Replied on August 2, 2021 at 8:46 PM

    You just need to add the height property and set it to 28px. It should now match it with the file upload button style and color.

    1627951575 610891d799bc5 The Easiest Onl Screenshot 10

    I hope that helps. Let us know if you have any questions or if you need further assistance.

  • thomasadam498
    Replied on August 3, 2021 at 2:31 AM

    Looks great!

    Thanks!

    Could please adapt a few more things?

    I have tried on my own but it do not work.

    One:

    Error: Invalid e-mail! = Text Color #9b9b9b

    Two:

    The verification code has been sent to ...

    Check your email inbox and paste the code below to complete verification.

    = Text Color #9b9b9b

    Three:

    CONFIRM CODE and RESET EMAIL Button should look like VERIFY EMAIL Button = Design, Color etc.

    Four:

    Your email has been successfully verified. = Text Color #9b9b9b


  • Amin JotForm Support
    Replied on August 3, 2021 at 3:54 AM

    Hi again,

    Kindly inject the following CSS code into the widget:

    .positive, #error, label  {
       color: #9b9b9b !important;
    }
    #codeSubmit, #resetEmail {
       background: #9b9b9b;
       color: #fff;
       padding: 0.3em 0.5em;
       border: none;
       box-shadow: 0.7px 0.5px #000;
       font-weight: bold;
       text-shadow: none;
    height: 28px;
    }


    Result:

    1627977044 6108f5540ae65  Screenshot 10

    1627976944 6108f4f03d74a  Screenshot 21

    1627976981 6108f51590b17  Screenshot 32

    Related guide: How-to-inject-css-codes-to-widgets

    Should you have any further inquiries, we will be more than happy to help.

  • thomasadam498
    Replied on August 3, 2021 at 4:57 AM

    Great and fast ... !!!

    Thanks a lot.

    Is there any conditional logic to show email validation first and rest of the form only if the verification code was right?

    I`ve tried a bit but have no idea for that.

    I know how to show widget first and rest of form for example if widget is filled with email in frist step or something like that.

    But best way would be second step after submitting right code.

    So would it be possible to create conditional logic that rest of form only appears if code is right?

    Thanks

  • Michal_S Jotform Support
    Replied on August 3, 2021 at 8:13 AM

    Hello!

    As this question is not related to the original inquiry, I will be splitting it off into a separate thread and will be answering it there.

    Thank you!