safecracker_file and title
Posted: 21 October 2010 03:09 PM   [ Ignore ]
Wallflower
Rank
Total Posts:  9
Joined  2010-10-18

hi

i try this:

{exp:safecracker channel="gruppenlisten" return="/stats/edit/ENTRY_ID" dynamic_title="[gruppenliste]" safecracker_head="no" entry_id="{segment_3}" }     
        {custom_fields}
        {if safecracker_file}  
               {display_field}
                {
/if}  
        
<input type="hidden" name="title" id="title" value="{title}" />    
        
{/custom_fields}
        
<input type="submit" name="submit" id="submit" class="submit" value="Senden" /> 
    
{/exp:safecracker} 

i always get the error-message to fill out the titlefield. is it not possible to send title ‘hidden’?

thanks
res

Profile
 
 
Posted: 21 October 2010 05:57 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

You are setting a dynamic title, so it ignores the title input and tries to build your title dynamically. Since you don’t have a gruppenliste field submitting, there will be no title.

Profile