PDA

View Full Version : Create a form field not based on input tag to print Captcha field



Fire-Dragon-DoL
13 Jan 2012, 7:29 AM
I must create a simple "field" of a fieldset that it's an empty div. This div will be transformed into a captcha by an external javascript API (recaptcha). To do this, I would like to create a custom Ext field component that is inheriting a Ext.form.field.Base component, however I can't find a way to do what I've described before.

Any suggestion on how to do this?

mitchellsimoens
13 Jan 2012, 8:27 AM
I would extend Component or Display field.

Fire-Dragon-DoL
13 Jan 2012, 8:56 AM
Damn, I completely missed that Component, I were looking for default input type fields and for base, never thought that such a class exists!

Sorry, that directly solve my problem, thanks again!

mitchellsimoens
13 Jan 2012, 9:01 AM
No problem \:D/