[ 16 posts ] Go to page Previous1, 2

Murray Macchio

YUI Contributor

  • Username: murdog05
  • Joined: Fri Jan 23, 2009 4:24 am
  • Posts: 25
  • GitHub: murdog05
  • Gists: murdog05
  • Offline
  • Profile

Re: Dynamic forms & form validator

Post Posted: Tue Feb 08, 2011 5:19 am
+0-
Hi James,

I will look into the issues you are having tonight and let you know what I find.

Thanks,
Murray

James Brisland

  • Username: MrBriz
  • Joined: Tue Feb 01, 2011 4:16 am
  • Posts: 8
  • Offline
  • Profile

Re: Dynamic forms & form validator

Post Posted: Tue Feb 08, 2011 5:22 am
+0-
Fantastic.

Thanks for all the help you've given me.

Hopefully once I'm done I should be able to post something about my experience and help other doing what I've been doing.

Murray Macchio

YUI Contributor

  • Username: murdog05
  • Joined: Fri Jan 23, 2009 4:24 am
  • Posts: 25
  • GitHub: murdog05
  • Gists: murdog05
  • Offline
  • Profile

Re: Dynamic forms & form validator

Post Posted: Tue Feb 08, 2011 9:09 am
+0-
No problem,

Helping you helps me make the component better. Perhaps when this is done a new example can go up into the documentation.

Murray Macchio

YUI Contributor

  • Username: murdog05
  • Joined: Fri Jan 23, 2009 4:24 am
  • Posts: 25
  • GitHub: murdog05
  • Gists: murdog05
  • Offline
  • Profile
Tags:

Re: Dynamic forms & form validator

Post Posted: Sat Feb 12, 2011 6:54 am
+0-
Hi James,

I was looking through the code and for some reason I made the change event inputfield:onchanged instead of onchanged.

My bad, I will leave it as is, but i will update the comments and perhaps add an example at some point to show this.

So the code below should do the trick.

form.getInput('firstName').on('inputfield:onchanged', function () {alert('dddd');});

Priyanshu Jain

  • Username: priyanshujain
  • Joined: Wed Jul 18, 2012 7:17 am
  • Posts: 1
  • IRC: PriJan
  • Offline
  • Profile

Re: Dynamic forms & form validator

Post Posted: Fri Jul 27, 2012 1:02 pm
+0-
Hi,
I have made a custom field in my gallery form .i have written the validator object for custom field as well.
But i am not getting how to get the field dom name or value in that validator object.

is there any way i can do custom validation using gallery form validator.

Thanks In Advance

Murray Macchio

YUI Contributor

  • Username: murdog05
  • Joined: Fri Jan 23, 2009 4:24 am
  • Posts: 25
  • GitHub: murdog05
  • Gists: murdog05
  • Offline
  • Profile

Re: Dynamic forms & form validator

Post Posted: Mon Oct 01, 2012 7:10 pm
+0-
Hi Priyanshu,

Sorry for the late response, I just noticed your message. Have you looked in the examples?

http://murdog05.github.com/yui3-gallery ... ample.html

That one should give you a start on how to create a custom validator. If you have any additional questions, feel free to reply to this thread.

Thanks
  [ 16 posts ] Go to page Previous1, 2
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum