Results 1 to 4 of 4

Thread: Ext.MessageBox.promt login box, multiline

  1. #1
    Ext User
    Join Date
    May 2007
    Posts
    7
    Vote Rating
    0
      0  

    Default Ext.MessageBox.promt login box, multiline

    Hello,

    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.

    Code:
    Ext.MessageBox.prompt('Login',
    	'Please Login',
    	multiline:true
    	);
    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.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,237
    Vote Rating
    1015
      0  

    Default

    Multiline means make the input text multi lined. By default, prompt only supports 1 box.

  3. #3
    Ext User
    Join Date
    May 2007
    Posts
    7
    Vote Rating
    0
      0  

    Default

    Ok, then my second question, is there a two field option?

  4. #4
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,237
    Vote Rating
    1015
      0  

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •