Menu icon Foundation

My Posts

No Content

My Comments

Anton Iskandiarov commented on Rafi Benkual's post over 5 years

Hi,

I was searching for an answer and finally found it inside foundation.js source code:

just run inside your code

$els = single input or array of inputs;
Foundation.libs.abide.parse_patterns($els);

It will validate inputs passed to the function and apply styles to inputs with validation errors. Also this method will return array with validation statuses.

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Rafi Benkual's post over 5 years

Hi,

I was searching for an answer and finally found it inside foundation.js source code:

just run inside your code

$els = single input or array of inputs;
Foundation.libs.abide.parse_patterns($els);

It will validate inputs passed to the function and apply styles to inputs with validation errors. Also this method will return array with validation statuses.

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content