SMS Confirmation widget: Allow translation on the text button, error and confirmation message

  • MadAboutDigital
    Asked on November 26, 2015 at 10:03 AM

    Hi there! i need to tranlate the buttons of twillo 2way validation widget. 

     

    And the error and confirmation messages of this widget.

     

    Possble?

     

    need help!

    thanks

     

  • Charlie
    Replied on November 26, 2015 at 11:30 AM

    I presume you are referring to the SMS Confirmation widget? 

    Are these the following elements you want to translate:

    1. "Confirm" button

    2. Error and confirmation messages showing below the input field?

    SMS Confirmation widget: Allow translation on the text button, error and confirmation message Image 1 Screenshot 30

    Is that correct?

     

    I checked the widget, but unfortunately the error messages are directly generated in Twilio, so it is not possible to have a direct translation of it in the widget.

    We can have a custom CSS code to change the text in the confirm button visually. You can add this custom CSS code in your widget:

    #send_btn {

    visibility: hidden !important;

    }

    #send_btn:after {

      content:'Text here'; 

      visibility: visible;

      display: block;

      position: relative;

      top: -25px;

      padding: 5px;

      -webkit-appearance: button;

      cursor: pointer;

    }

     

    Just change the 'content' attribute to the language you want for the confirm button. Here's a screenshot to where you need to place that CSS code.

    SMS Confirmation widget: Allow translation on the text button, error and confirmation message Image 2 Screenshot 41

     

    I have forwarded this concern about the translations to our widget team to see if they can make some improvements on this. However, we cannot guarantee that this will be implemented anytime soon. For now, I'll try to look for possible workarounds for the error messages, but it is highly unlikely that this can be done using only CSS. I would also recommend that you contact Twilio about this.

  • MadAboutDigital
    Replied on November 27, 2015 at 8:46 AM
    Thanks!
    perfect help!
    i
    need one more help
    is there anyway to do this:
    Ask for identification details and then, when the person cliclks SEND
    receives in his email a Ticket for an EVENT with a unique QR Code with his
    name associated to it.
    Any possible way to do this?
    thank you
    2015-11-26 18:29 GMT+02:00 JotForm :

    ...
  • beril JotForm UI Developer
    Replied on November 27, 2015 at 10:58 AM

    On behalf of my colleague, you are welcome.

    I've created a separate thread for you, so anyone in the support staff will be able to assist you with your specific requirement. Please follow up there:

    http://www.jotform.com/answers/713048

  • TitusNdoka JotForm Developer
    Replied on May 16, 2016 at 1:49 AM

    You can now customize the SMS confirmation widget buttons and error message: 

    SMS Confirmation widget: Allow translation on the text button, error and confirmation message Image 1 Screenshot 20

    Give it a try and let us know how it goes. 

    Thanks!