Skip to Content
0
Former Member
Jan 25, 2008 at 04:09 PM

Problems adding fields when an event is triggered

9 Views

Hi,

I need to create a button that with each click adds a textField. Looking some tutorials i see something like that:

var name = "myRadio";

var type = "radiobutton";

var page = 0;

var rb = this.addField(name, type, page, [1, 1, 412, 430]);

this.addField(name, type, page, [400, 427, 412, 415]);

this.addField(name, type, page, [400, 412, 412, 400]);

rb.exportValues=["Yes", "No", "Cancel"];

I have tried it with event form1.btn1::click with javaScript Language and executing in Client Side. But doesn't work.

The server uses NWDS 7.0.14 and Adobe LC 7.1

Any idea?

Thanks