Letters Only
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #377065
    Splash
    Guest

    Hello Dinesh,

    i use for name the value check “Letters Only”, but it´s something wrong with:
    1. space between names -> Example “Frank Peter”
    2. german Umlaute -> ö, ä, ü
    all they are gives error output
    see here

    Privatkredit


    Is there a solution with no custum code?
    Please do you can expand the Letters only with space and german Umlaute (ö,ä,ü).

    Thanks
    Tilo

    #377066
    Splash
    Guest

    …and “-” for “Frank-Peter”

    #377096
    Splash
    Guest

    …i use the PRO Version

    Please let me know if you can correct it with “Letters Only” and
    space, -, ä, ü, ö

    Thanks
    Tilo

    #377100
    Splash
    Guest

    Alpha numeric also do not accept german Umllute (ä,ö,ü).

    Pro Version Demo


    Please you can set a new validation method with ä,Ä,ü,Ü,ö,Ö,- and space for all european languages

    Thanks a lot
    Tilo

    #377102
    Dinesh
    Keymaster

    Hi,

    I am aware that you are using the Pro version. We been in touch from very long :). I was creating another method to fix the issue so it took long.

    Please add this javascript. Your theme might have some settings to add custom javascript. If not you can use this plugin to add the js code. https://wordpress.org/plugins/custom-css-and-javascript/

    jQuery.validator.addMethod( "lettersonly2", function( value, element ) {
    	return this.optional( element ) || /^[a-züöäÜÖÄß-\s]+$/i.test( value );
    }, "Letters only please" );

    After that, please change the field class to lettersonly2 and it will allow you to validate as mentioned above.

    Thanks

    #377211
    Splash
    Guest

    Hi Dinesh,

    Thanks a lot ;o)

    I have added your Code with this line
    p><span class="fa fa-user background-icon"></span><tip>Geben Sie Ihren Vornamen an</tip>[text* asvorname default:get class:lettersonly2 placeholder"Ihr Vorname *"]</p>
    but it accepts numbers…see here https://experten-kredite.de/kredit-mit-und-trotz-schufa/#kreditanfrage
    https://share-your-photo.com/acb9e610bb
    What’s the matter with this?

    At the future do you can add this solution in your pro plugin. I have more than one website and i want it easier.

    Greetz
    Tilo

    #377227
    Dinesh
    Keymaster

    Hi,

    Have you placed this code first ? I couldn’t find it anywhere.

    jQuery.validator.addMethod( "lettersonly2", function( value, element ) {
    	return this.optional( element ) || /^[a-züöäÜÖÄß-\s]+$/i.test( value );
    }, "Letters only please" );

    Thanks

    #377294
    Splash
    Guest

    Hi Dinesh,

    i have added the code at head
    https://share-your-photo.com/519973b95d
    I don’t know where is the issue?

    Thanks,
    Tilo

    #377314
    Dinesh
    Keymaster

    Hi Splash,

    Can you try with this plugin and see if that helps ?

    Custom CSS and JavaScript

    Thanks

    #377367
    Splash
    Guest

    Hello Dinesh,

    …no way…sorry.

    I have installed the PlugIn and insert the Code
    de.share-your-photo.com/fae3abf112
    with this Code from CF7
    de.share-your-photo.com/eda11bb771
    there is no correct validation
    de.share-your-photo.com/c960de721f
    For testing i deactivated the Cache.

    Do you can add this validation to a new method in the next Update? I think i am not the only one who want to use that validation method.

    Thanks
    Tilo

    #377431
    Dinesh
    Keymaster

    Hi,

    Any chance you can send me your wp-admin details ?

    I will fix it from here.

    Thanks

    #377464
    Splash
    Guest

    Hello Dinesh,

    i have send you a Mail.

    Thanks Tilo

    #377597
    Dinesh
    Keymaster

    Fixed.

    Please check your email for more details.

    Thanks

    #377612
    Splash
    Guest

    Hi Dinesh,

    thanks a lot ;o)
    It works great!

    Think about to integrate to the next Update…it will make happy some other website owners.

    Greets
    Tilo

    #377720
    Dinesh
    Keymaster

    Hi,

    So far no others have requested this feature. If such validation is requested more then i will definitely keep it.

    Thanks

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Letters Only’ is closed to new replies.