3.2.0

two textboxes

hello,

how does one create a form with two textboxes (username & password) and submit button with activewidgets?

i have got the textboxes and button on the screen ok, but i'm confused to how to send it to my login.asp page?

NF
April 7,
<script>

var obj = new AW.UI.Input;
obj.setId("myInput"); // necessary for CSS rules

// obj.setControlSize(100, 30); // width, height
// obj.setControlPosition(10, 100); // left, top - adds 'position:absolute'

obj.setControlText("Some text");
document.write(obj);

var obj = new AW.UI.Input;
obj.setId("myInput"); // necessary for CSS rules

// obj.setControlSize(100, 30); // width, height
// obj.setControlPosition(10, 100); // left, top - adds 'position:absolute'

obj.setControlText("Some text");
document.write(obj);
</script>
NF
April 8,
i guess i can only have one textbox on the form from the response i got?

NF
April 9,
Use different ID foe each Input:
obj.setId("mySecondInput"); // necessary for CSS rules
April 9,
thanks. it works but why does it work by giving it another CSS class name?

NF
April 10,

This topic is archived.

See also:


Back to support forum