Defining a button inside a block

(system) #1

Hi colegas,

I need to define a button inside an application block. I’m trying to emulate a detail form because it doesn’t become active until the main record is saved.

This button is intended to dinamically show enable a hidden field (add row). In the same way, I will implement another button to hide the lasta enabled field (delete row).

Can anyone put some light on this?

Thanks in advance.

Manuel

(system) #2

I have some progress on with issue.

I created a label field populating the property Text with the following value :

I defined the function “alerta_boton” in file myform_digita.js.

My problem now is how to modify a field and execute the ajax events associated with it.

Regards,

Manuel

(vitorjamil) #3

Try to use a img tag, not an input tag.

Vítor Jamil