pre-populate Floaters

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default pre-populate Floaters

    Hi everyone,

    This is my first time to create a Floater. It has an interactive form for
    user to enter information. I want to be able to prepopulate the form fields
    with some values from configuration, but I don't know how. I read that
    floaters don't execute "onLoad" in the body. Follow advice on book, I try to
    put the initUI(), where I set field values, inside initialPosition() (also try
    initialTabs()), but it doesn't work.

    Would someone tell me what I did wrong, and what is the correct way to tackle
    this problem.

    Thank you very much.

    --yeudoi


    yeudoi Guest

  2. Similar Questions and Discussions

    1. Images in Floaters and saving data
      Hey guys, I'm trying to create a plugin that will connect to a CMS (not unlike WordPress or Joomla) and allow me to edit pages from dreamweaver. ...
    2. populate list
      is it possible to populate the list automatically after finish recording the video? in another word, is there anyway i can call the flv files saved...
    3. Mac Floaters and Tab Key
      I am working a floater which has several text fields that need to be filled out, basically a login form. This works great on Windows, but on...
    4. Floaters and initialTabs
      I have 2 files that I want tabbed together but for some reason the initialTabs is not working. Can somebody let me know what wrong time.htm...
    5. Best way to populate a <SELECT>
      Hi All I've being doing it my own little way for sometime now, but I'm not sure if its the best. When I'm doing a recordset for a simple...
  3. #2

    Default Re: pre-populate Floaters

    yeudoi wrote:
    > Would someone tell me what I did wrong, and what is the correct way to tackle
    > this problem.
    Try placing the call to your function outside of the other functions. e.g.

    function xyz(){


    }

    xyz();


    Be aware that this will only work the first time the panel is shown in a session, beyond that, the panel will already be loaded in memory and as such that code isn't run again.

    HTH

    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.CommunityMX.com/[/url]

    Those who aren't looking often have their eyes open widest.
    danilocelic *TMM* Guest

  4. #3

    Default Re: pre-populate Floaters

    Thank you Danilo.
    It works like a charm.

    :)

    --yeudoi
    thaoxuanpham Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139