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.

Safecracker not appearing...

February 10, 2012 1:41pm

Subscribe [2]
  • #1 / Feb 10, 2012 1:41pm

    Ryan Faubion

    81 posts

    Hello fellow EE’ers,

    I’m having a heck of time getting Safecracker to print my form. Oddly, it has a appeared with the same very code but mostly it doesn’t show up. So I’m coming to you for your insights…

    Here’s the code:

    <div id="maintenance_form">
         {exp:safecracker channel="maintenance" return="maintenance/thank_you" recipients="[email protected]"}
        
         <div class="inputWrapper">
          <label for="title">Full Name</label>
          <input type="text" name="title" id="title" value="{title}" />
         </div>
         <div class="inputWrapper last">
          <label for="maintenance_property_address" >Property Address</label>
          <input type="text" name="maintenance_property_address" />
         </div>
         <div class="inputWrapper">
          <label for="maintenacne_home_phone">Home Phone</label>
          <input type="text" name="maintenance_home_phone" />
         </div>
         <div class="inputWrapper last">
          <label for="maintenance_cell_phone">Cell Phone</label>
          <input type="text" name="maintenance_cell_phone" />
         </div>
         <div class="inputWrapper">
          <label for="maintenance_email">Email Address</label>
          <input type="text" name="maintenance_email" />
         </div>
         <div class="inputWrapper">
          <label for="maintenance_issue">Maintenance Issue</label>
          <select id="maitenance_issue" name="maintenance_issue">
           <option>Select from the options below</option>
           <option>Fire</option>
           <option>Air Conditioning Repair</option>
           <option>Heat Repair</option>
           <option>Clogged Toiled or Drain</option>
           <option>Pipe Broken</option>
           <option>Broken Doorknob, Lock or Window</option>
           <option>No Hot Water</option>
           <option>No Electricity</option>
           <option>Other</option>
          </select>
         </div>
         <div class="inputWrapper_full">
          <label class="left" for="maintenance_message">Detailed Description of Your Maintenance Issue</label>
          
    <textarea id="maintenance_message" name="maintenance_message" rows="10" cols="83"></textarea>
         </div>
         <input class="send_form" name="submit" type='submit' value='' />
         
                 {/exp:safecracker}
         <div class="clear"></div>
        </div>

    Here’s the page (at the bottom, Online Maintenance Request Form): http://test.hallmarkrentals.com/residential/

    Thanks.

     

  • #2 / Feb 10, 2012 2:03pm

    Matt Stein

    110 posts

    I’ve not even used Safecracker yet, but I’m wondering what version of EE you’re using and whether Safecracker is in fact enabled. (Not to be insulting, I’m just very good at missing these things so I have to ask.)

    For what it’s worth, I’m still in the habit of using Freeform (http://www.solspace.com/software/detail/freeform) for this kind of thing.

  • #3 / Feb 10, 2012 2:10pm

    Ryan Faubion

    81 posts

    I’m on v2.2.2. Yeah, it’s on 😊 - a fair question though.

    I may have to revert to Freeform.

  • #4 / Feb 11, 2012 9:51pm

    Dan Decker

    7338 posts

    Hi Ryan,

    By default, SafeCracker will only display to logged in members that have been given permission. Could you note if you are logged in when the form displays?

    In order to use your form with visitors, you need to set the logged_out_member_id= parameter.

    I’ll also suggest that you take a moment to update to 2.4 😉 There have been numerous feature enhancements and bug fixes since 2.2.2 was the current release.

    Cheers!

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

ExpressionEngine News!

#eecms, #events, #releases