Skip to content

Conversation

@PerseusTheGreat
Copy link
Contributor

@PerseusTheGreat PerseusTheGreat commented May 29, 2016

In some development scenarios, developers have to change input[id|name] in different web pages.
Current situations, enforce developers to make input-specific async server validation process for each input[id] or input[name].
Sometimes this server validation process is repetitive and they can not make/write their codes reusable.

By adding new "fieldName" property to "ajaxvalidate" custom validity rule core object, developers can make server codes more reusable and independent from client input[id|name].

Usage 1:

<input type='text' 
    id='Text1' 
    neme='UserID'
    data-ajaxvalidate='path to async server validation handler' 
    data-ajaxvalidatefield='Username' />

Usage 2:

<input type='text' 
    id='Text1' 
    neme='UserID'
    data-ajaxvalidate='{ url: "path to async server validation handler", fieldName: "Username"}' />

In some development scenarios, developers have to change input[id|name] in different web pages.
Current situations, enforce developers to make input-specific async server validation process for each input[id] or input[name].
Sometimes this server validation process is repetitive and they can not make/write their codes reusable.

By adding new "fieldName" property to "ajaxvalidate" custom validity rule core object, developers can make server codes more reusable and independent from client input[id|name].

Usage 1:
<input type='text' 
    id='Text1' 
    neme='UserID'
    data-ajaxvalidate='path to asyc server validation handler' 
    data-ajaxvalidatefield='Username' />

Usage 2:
<input type='text' 
    id='Text1' 
    neme='UserID'
    data-ajaxvalidate='{ url: "path to asyc server validation handler", fieldName: "Username"}' />
@PerseusTheGreat
Copy link
Contributor Author

Hello....
Is there anyone to consider this Pull?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant