Using safecracker to create a new entry on the front end I need to fill in the content of a custom category with the url_title of the current entry…. Can’t figure out how to make this work!
Below is as far as I’ve gone, with the custom category called “custom_category” and it’s id is 214.
Thanks,
Geoff
{exp:safecracker channel="explore" return="kiosks/{segment_3}" }
<input type="hidden" name="url_title" id='url_title' value="" >
<input type='hidden' name='coursename' field_id="155" value='{segment_3}' />
<input type='hidden' name='custom_category' field_id="214" value='{url_title}' >
<input type="hidden" name="allow_comments" value="y" />
...