please help :)

2 views
Skip to first unread message

unomi

unread,
Sep 24, 2008, 6:54:19 AM9/24/08
to inputex
im having some trouble using inputex.form :

myForm = new YAHOO.inputEx.Form( {
fields:

[ {"type": "integer" , "inputParams" : { "name" :
"CandidateID","label": "CandidateID" , "required": false ,
"tooltipIcon" :false , "showMsg" :false }} , {"type": "string" ,
"inputParams" : { "name" : "FirstName","label": "Given Name" ,
"required": true , "tooltipIcon" :true , "showMsg" :true }} , {"type":
"string" , "inputParams" : { "name" : "LastName","label": "LastName" ,
"required": false , "tooltipIcon" :false , "showMsg" :false }} ]


On my end it creates 3 fields, but they all have the warning triangle
that simply wont go away,
CandidateID does not care if it gets strings or integers (shouldnt
it?)

Eric Abouaf

unread,
Sep 24, 2008, 11:42:31 AM9/24/08
to inp...@googlegroups.com
You're right.
It is a bug, which occur when the top group has the class "inputEx-invalid". The labels from each field inherits this css property :(
I'll have a look tonight.
Bye

Eric Abouaf

unread,
Sep 25, 2008, 6:19:53 AM9/25/08
to inp...@googlegroups.com
I fixed it.
Please tell me if it works for you. It has not been tested on all fields...

unomi

unread,
Sep 26, 2008, 7:33:44 AM9/26/08
to inputex
Works great, thanks.



On Sep 25, 5:19 pm, "Eric Abouaf" <eric.abo...@gmail.com> wrote:
> I fixed it.
> Please tell me if it works for you. It has not been tested on all fields...
>
> On Wed, Sep 24, 2008 at 5:42 PM, Eric Abouaf <eric.abo...@gmail.com> wrote:
> > You're right.
> > It is a bug, which occur when the top group has the class
> > "inputEx-invalid". The labels from each field inherits this css property :(
> > I'll have a look tonight.
> > Bye
>
> > 2008/9/24 unomi <guidebook.in...@gmail.com>
Reply all
Reply to author
Forward
0 new messages