Firefox not populating dynamic form fields

  •  05-02-2006, 3:39 AM

    Firefox not populating dynamic form fields

    I am currently developing a simple Event-management solution in ASP.  I have downloaded and installed your product and things are going relatively smoothly.  However, I have noticed that there is a problem with Firefox when refreshing the page and repopulating form fields.  Some drop-down menus are dynamically driven, so there is a server request and the form fields are populated with the user's inputs thus far.  This works with all normal text fields, but not with CE fields (but only with Firefox - IE seems to populate the CE fields just fine).  I am running Firefox 1.5.0.2.  I have 2 CE editors on the same page (I believe I am running v 5.1).  The odd thing is that sometimes the CE fields DO populate with the user's content, but most of the time they do not.

    Here is the code instantiating the editors:
    *Description:

    <%
    content = gBody
    Dim editor
    Set editor = New CuteEditor

    editor.ID = "Body"
    editor.Text = content
    editor.FilesPath = "/CuteEditor_Files"
    editor.ImageGalleryPath = "/EventImages/"
    'Body.Setting("security:ImageGalleryPath")= "/uploads"
    'editor.MaxImageSize = 5000
    editor.AutoConfigure = "Minimal"
    editor.TemplateItemList = "netspell,Bold,Italic,Underline,JustifyLeft,JustifyCenter,JustifyRight"

    editor.Width = 400
    editor.Height = 200
    editor.Draw()

    ' Request.Form(ID) access from other page
    %>


    Photo:

    <%
    pcontent = gPhoto
    'Dim editorPhoto
    Set editorPhoto = New CuteEditor

    editorPhoto.ID = "Photo"
    editorPhoto.Text = pcontent
    editorPhoto.FilesPath = "/CuteEditor_Files"
    editorPhoto.ImageGalleryPath = "/EventImages/"
    'Body.Setting("security:ImageGalleryPath")= "/uploads"
    editorPhoto.MaxImageSize = 5000
    editorPhoto.AutoConfigure = "Minimal"
    editorPhoto.TemplateItemList = "insertimage"

    editorPhoto.Width = 200
    editorPhoto.Height = 150
    editorPhoto.Draw()

    ' Request.Form(ID) access from other page
    %>

    And the relevant code at the top of the page for the variable assignation is:

    gBody = Request.Form("Body")
    gPhoto = Request.Form("Photo")

    Like I said - IE works fine, but Firefox does not populate the fields.  Any help?

    Thanks - Kevin


View Complete Thread