ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

SAEF Behaviour

July 07, 2009 2:38pm

Subscribe [2]
  • #1 / Jul 07, 2009 2:38pm

    tgw108

    16 posts

    Moderator’s note: Split from this thread.

    I am also having this issue. Safari is the only browser that will save the data.

    Here is my form code. I need to fix this issue, so I would like to see this through.

    if logged_out}
    To submit an event you must <a href="http://{path=member/login}">log in</a> or <a href="http://{path=member/register}">register for an free account</a>.
    {/if}
    {if logged_in}
    
    {exp:weblog:entry_form weblog="calendar" return="community/thankyou" status="Pending"}
    <label for="Event Name">Event Name:</label>
    <input type="text" class="textbox"  name="title" value="{title}" id="title" size="25" /></p>
    <label for="Event Description">Event Description:</label>
    <textarea class="textarea"  id="field_id_16" name="field_id_16" rows="6" cols="25"></textarea>
    <label for="Event Start Date">Event Start Date:</label>
    <input name="entry_date" class="date-pick" /></p><br class="clear" >
    <label for="Event End Date">Event End Date:</label>
    <input name="expiration_date" value=""  class="date-pick" /></p><br class="clear" >
    <label for="Event Time">Event Time:</label>
    <input type="text" class="textbox"  name="field_id_15" value="" id="field_id_15" size="20"/></p>
    <label for="Recuring">Recuring:</label>
     
      <select class="select_small" id="field_id_24" name="field_id_24">
        <option value="none" selected>none</option>
        <option value="weekly">weekly</option>
        <option value="monthly">monthly</option>
        </select>
    
    <label for="Event Cost">Event Cost:</label>
    <input type="text" class="textbox"  name="field_id_19" value="" id="field_id_19" size="20"/></p>
    <label for="Event Organization">Event Organization:</label>
    <input type="text" class="textbox"  name="field_id_17" value="" id="field_id_17" size="25"/></p>
    
    
    {category_menu}
    <label for="Event Category">Event Category</label>
    
    <select name="category[]" class="select_medium">
    {select_options}
    </select>
    
    {/category_menu}
    
    <label for="Designation">Organization Designation:</label>
     
      <select class="select_medium" id="field_id_25" name="field_id_25">
        <option value="NA">NA</option>
        <option value="for-profit">For Profit</option>
        <option value="not-for-profit">Not For Profit</option>
      </select>
    
    
    <label for="Event Website">Event Website:</label>
    <input type="text" class="textbox"  name="field_id_18" value="" id="field_id_18" size="25"/></p>
    <!--<label for="Event Image URL">Event Image URL:</label>
    <input type="text" class="textbox"  name="field_id_23" value="" id="field_id_23" size="25"/></p>-->
    {exp:member:custom_profile_data}
    <label for="Contact Name">Contact Name:</label>
    <input type="text" class="textbox"  name="field_id_20" value="{firstname} {lastname}" id="field_id_20" size="25"/></p>
    {/exp:member:custom_profile_data}
    <label for="Contact Email">Contact Email:</label>
    <input type="text" class="textbox"  name="field_id_21" value="{email}" id="field_id_21" size="25"/></p>
    {exp:member:custom_profile_data}
    <label for="Contact Phone">Contact Phone:</label>
    <input type="text" class="textbox"  name="field_id_22" value="{phone}" id="field_id_22" size="25"/></p>
    <label for="Venue">Venue:</label>
    <input type="text" class="textbox"  name="field_id_47" value="{event_venue}" id="field_id_47" size="25"/></p>
    <label for="Address">Address:</label>
    <input type="text" class="textbox"  name="field_id_48" value="{event_address}" id="field_id_48" size="25"/></p>
    <label for="City">City:</label>
    <input type="text" class="textbox"  name="field_id_49" value="{event_city}" id="field_id_49" size="25"/></p>
    <label for="State">State:</label>
    <input type="text" class="textbox"  name="field_id_50" value="{event_state}" id="field_id_50" size="10"/></p>
    <label for="Zip">Zip:</label>
    <input type="text" class="textbox"  name="field_id_51" value="{event_zip}" id="field_id_51" size="8"/></p>    
    {/exp:member:custom_profile_data}
    <input class="button_margin" type="submit" value="Submit"></p>
    {/exp:weblog:entry_form}    
    {/if}
  • #2 / Jul 07, 2009 3:34pm

    Ingmar

    29245 posts

    Can you describe your issue in a little more detail? What version and build of EE are you on? I trust the missing opening { is present in your site’s code?

  • #3 / Jul 07, 2009 3:42pm

    tgw108

    16 posts

    Yes the “{” is present.

    My problem is that after submitting the SAEF, if a user is missing a required field and must go back…All the previous from information is gone.

    I am using EE 1.6.7.

    Thanks,
    Tom

  • #4 / Jul 07, 2009 3:45pm

    Ingmar

    29245 posts

    I am afraid whether a browser retains filled-out forms on revisiting the page is a matter of browser functionality. Not much EE can do about it.

  • #5 / Jul 07, 2009 3:47pm

    tgw108

    16 posts

    I thought that might be the case. Is there any way to force EE save that information.

    Do you know of any specific browser information about this?


    Thanks again,
    Tom

  • #6 / Jul 07, 2009 3:50pm

    Ingmar

    29245 posts

    I thought that might be the case. Is there any way to force EE save that information.

    Not really: since the form is incomplete it’s not even submitted to the database yet, so EE doesn’t even get to see it.

    Do you know of any specific browser information about this?

    Unfortunately not. My default browser (Chrome on Windows) is good at it, as is Opera, and FF probably does it as well. The others? No idea, although Safari on OS X is probably a safe bet, too.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases