Jump to content

Assign "id" or "name" property to a component


marcos.digirotas

Recommended Posts

Hi people!

 

Is there a way to assing an "id" or a "name" property to a component to be used in the conversion to html code?

 

I want to set a inputMask (using the ExtEvents >> afterrender) to a Unidbedit that depends on the value of another Unidbedit, for example:

 

UniDbedit1 must have the inputmask "999.999.999-99" if Unidbedit2 equals to "F", otherwise the inputmask should be "99.999.999/9999-99".

On afterrender event, I don't know how to access the value of the Unidbedit2.

 

Looking the html code generated, it looks like: <input id="O5D4_id-inputEl" data-ref="inputEl" size="1" name="O5D4"... If I could assing an acquainted name to "id" or "name" propery I wiil be able to define the correct inputmask.

 

 

Thanks in advance!

Marcos

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...