Mark Controls in Form Builder

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Mark Controls in Form Builder

bazik
Hi. I need to validate the values of control names while creating form in Form Builder. And if the values ​​do not correspond some mask I should mark this controls.
Each invalid control should be marked.
I got form definition, parsed and found controls with invalid names.
So, I have list of control names.

My question is how can javascript find control element in Form Builder by control name?  Alternatively javascript can not find a control but element of form grid.
Reply | Threaded
Open this post in threaded view
|

Re: Mark Controls in Form Builder

Erik Bruchez
Administrator
So do you mean this JavaScript woud run in Form Builder at design time?

-Erik

On Sun, May 6, 2012 at 7:42 AM, bazik <[hidden email]> wrote:

> Hi. I need to validate the values of control names while creating form in
> Form Builder. And if the values do not correspond some mask I should mark
> this controls.
> Each invalid control should be marked.
> I got form definition, parsed and found controls with invalid names.
> So, I have list of control names.
>
> My question is how can javascript find control element in Form Builder by
> control name?  Alternatively javascript can not find a control but element
> of form grid.
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Mark-Controls-in-Form-Builder-tp4612950.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Mark Controls in Form Builder

bazik
Yes