Simple JavaScript Salesforce Validation - jSFValidation

Thursday, September 12, 2013 by Aslam - The Alexendra
Hi All,
Today I am going to give a demo for JS validation for VF pages which works mostly like native SFDC field validation. Here you can find the working demo.

Right now i have implemented the validation for "Required" type. If any text box values are empty , i am adding the error. You simply need to add the jSFValidation component and then you need to add the class "jSF_Required" on the fields you want to add validation for. In given demo, only "Mailing Country" is not required. Rest of the fields are marked for required.

You can download the code from here.

Provide your suggestions to improve this :)

Aslam Bari


Abdul Vahid said...

Nice :)

VIkas gaur said...

By using this we don't have to use standard error message.

Kirtesh said...

good one

urHelper said...

good one

visit this

Anonymous said...

you have done what i always thinking about, thanks!

Ganesh said...

I need code for this JSF validation..

Unknown said...

thanks for sharing new things.this blog is very in amritsar

Unknown said...
This comment has been removed by the author.
Unknown said...

KKARTHIK said...


Unknown said...

Hello, just wanted to say, I loved this article. It was practical.
Keep on posting!
download descargar facebook gratis para Android celular and download free descargar facebook apk and descargar facebook gratis , descarga facebook

Unknown said...

Its really good information, i like your blog post. Thanks for sharing
download free descargar whatsapp and download baixar whatsapp online and descargar whatsapp gratis , baixar whatsapp gratis

Can Crusher said...

This is a really great blog post. thanks for sharing.

Anonymous said...

It appears zip file is not downloadable.

Padhma said...

this article was superb,but i expecting more information from this topic.but its useful
Back to original

tek pc solutions said...

Nice Post thanks for Sharing, Get instant technical help and support for printer, anti virus, email, desktop, laptop and more at 1-855-480-7873 toll free number.

Unknown said...

Thanks admin for sharing the unique content, you have done a great job

Installment loans in Mississippi
Payday loans in Mississippi
Title loans in Mississippi

Unknown said...

very very amazing explaintion....many things gather about yourself...yes realy i enjoy it
seo company in Chennai

vinothika said...

Content is very clear and easily explained it is very interesting aswell. I hope you postagain soon.

Python Training in Chennai

Unknown said...

The blog is very different and useful. The way of writing makes it more interesting.

PYTHON Training in Chennai

Nicole Bolton said...

It is really a great and useful piece of info. I’m glad that you shared this helpful info with us. Please keep us informed like this. Thank you for sharing.

Logistics Software
Fleet Management Software
ERP Software Companies

CIITNOIDA - Best Oracle and linux training institute in noida delhi ncr said...

Best M Tech Colleges in Noida
Best M Tech Colleges in Delhi
Best M Tech Colleges in Gurgaon
Best M Tech Colleges in UP
Best M Tech Colleges in India
Best M Tech Colleges in Hyderabad
Best M Tech Colleges in Bangalore
Best M Tech Colleges in Chennai

Unknown said...

To maximize impact of RPA, identify impactful processes. These processes tend to be Impacting both cost and revenues , High volume , With low fault tolerance , Error prone , Speed-sensitive , Requiring irregular labor , Distributed processes that require coordinated efforts of multiple departments ,Select processes that can be easily automated with RPA. Such processes tend to be
Rules based
Not on the roadmap for new systems
Robotic Process Automation RPA training in chennai

Unknown said...

Its really an Excellent post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog. Thanks for sharing....

solar rooftop
solar water heater
solar panel
solar module
energy efficient
BLDC fan
solar power
power plant
solar training
solar pump

Post a Comment