When I submit an entry through my Channel Form, the regular old URL Title is being populated correctly, but there is no entry for Structure URL Title. Aren't these two things supposed to synchronize automatically when a new entry is created? How do I fix it?

Everything works fine when I add an entry from the control panel. The problem occurs when the Channel Form is used.

I'm using:

  • EE 2.9.2
  • Structure v3.3.18

Update to add channel form code:

{layout="layouts/.my-layout" title="" section="{segment_1}"}

{!-- Insert form here --}

<label for="post_first_name" class="required">First Name
    <input type="text" name="post_first_name" id="post_first_name" required />
{if error:post_first_name}<small class="error">{error:post_first_name}</small>{/if}

<label for="post_last_name" class="required">Last Name
    <input type="text" name="post_last_name" id="post_last_name" required />
{if error:post_last_name}<small class="error">{error:post_last_name}</small>{/if}

<label for="post_email" class="required">Email Address
    <input type="email" name="post_email" id="post_email" required />
{if error:post_email}<small class="error">{error:post_email}</small>{/if}

<label for="title" class="required">Post Title
    <input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" onkeyup="liveUrlTitle();" required />
{if error:title}<small class="error">{error:title}</small>{/if}

<label for="categories" class="required">Category</label>
<select name="category[]" id="categories">
  <option value="">**Select**</option>
    <option value="{category_id}"{selected}>{category_name}</option>

<label for="post_body" class="required">{label:post_body}
{if error:post_body}<small class="error">{error:post_body}</small>{/if}

<input type="submit" value="Submit" class="button small radius" />


1 Answer 1


You'll want to add the following hidden input fields to your form.

<input type="hidden" name="structure_template_id" value="XXXX" />
<input type="hidden" name="structure_parent_id" value="XXXX" />
<input type="text" name="structure_uri" /> <!-- required -->

See documentation.

  • I've tried this with no luck, it still does not introduce a structure url. Would there be a reason why? Commented Nov 3, 2017 at 9:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.