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

    Adding Greek Validation to form textbox validations

    Asked by intefix on February 21, 2016 at 03:53 PM

    1)    greek: 'Αυτό το πεδίο δέχεται μόνο Ελληνικούς χαρακτήρες',

    2)    greek: /^[\u0384-\u03AB\u03AC-\u03CEα-ωΑ-Ω\s]+$/,    //not polytonic

    3)    case "Greek":
                        if (!reg.greek.test(input.value)) {
                            return JotForm.errored(input, JotForm.texts.greek);
                        }
                        break;

     

    Regards

     

    PS

    Also I translated all in Greeks
    Added Functions for unique fields with outside php connectors

    Much functions without used...

     

    greek validation input validation
  • Profile Image

    Answered by danielsosacaba on April 25, 2016 at 11:38 AM

    Hi.

    I have a form in which users must enter scientific information with symbols and Greek letters and do not want to have compatibility errors.

    To make it work I have to stick this you propose in the CSS section of my form?

    Thank you!

  • Profile Image

    Answered by Ben on April 25, 2016 at 01:09 PM

    @danielsosacaba I believe that intefix added this in hope that it would be added to the JotForm's Textbox field as one of the input validations.

    If so, it would be validating if the entry was made using Greek characters or not and raise error if not (meaning that the same would happen if you added numbers to it and anything else, not defined as Greek character.

    Do note that the above would not do anything if put into the CSS of your form (just cause errors).

    Also based on what you have written here: https://www.jotform.com/answers/824675 it seems that you need to avoid such validation since you will use a lot of different text, within which there will be few Greek alphabet symbols.

    As such, it seems that you were not correctly understood on your previous thread, so I will update you there and as such would like to ask you to continue conversation on the same thread only.

    @intefix I see that this is related to your other thread here: https://www.jotform.com/answers/775583 as such I will raise this to our developers as a feature request, so if you have any questions please do let us know about it here.

  • Profile Image

    Answered by danielsosacaba on April 25, 2016 at 04:47 PM

    Ok @Ben, thaks.