We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Two issues with Safecracker form EE2.3

Development and Programming

swinggraphics's avatar
swinggraphics
2 posts
8 years ago
swinggraphics's avatar swinggraphics

•1. When our form is submitted, a new listing is created, but the Structure URL field is empty, so links to the listing do not work. I have included this input field

<input type="hidden" name="structure_uri" id="structure_uri" value="" />

per the documentation, but it does not work. I also tried using “structure__uri” as the name, because that’s what it is in the CP.

•2. Our form includes a file upload field. The File Manager modal loads okay, but when you click the Upload File button, the home page is displayed in the modal instead of a file upload form. URL of the iframe is “http://www.ourstagingsite.com/?&C=content_files_modal&directory_id=1”

We don’t need or want the File Manager, so I tried manually creating the field using

<input name="fellowship_application" value="" type="file">
<input type="hidden" value="1" name="fellowship_application_directory" />

in the template, but that doesn’t work either.

Any help or ideas on these issues would be greatly appreciated. I’m pretty new to EE, but not afraid to get my hands dirty. Thanks!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.