View Full Version : Ext.MessageBox.promt login box, multiline

6 Oct 2007, 2:29 PM

I'm trying to make a two field dialog box for use in a login script, and cant figure out how to get it to work..I assume it uses the multiline value, but setting it to true yields no change in rendering.

'Please Login',

Thats the code I'm using, am i leaving something out, or am i misunderstanding the use of multiline in general?

for what its worth, Im aiming to have it with "Username, Password" and a checkbox to remember.

6 Oct 2007, 4:01 PM
Multiline means make the input text multi lined. By default, prompt only supports 1 box.

6 Oct 2007, 4:33 PM
Ok, then my second question, is there a two field option?

6 Oct 2007, 5:38 PM
No, the easiest way to do it is to render a form into a BasicDialog. There are examples of login forms around, search the forum.