Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8886791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:38:37+00:00 2026-06-14T21:38:37+00:00

I want to append entry_id came from a selection box (embedded) to a safecracker

  • 0

I want to append entry_id came from a selection box (embedded) to a safecracker URL

This is the code:

{exp:safecracker channel="blending_log"  return="sthome/blending/ENTRY_ID" dynamic_title="     [selected_tea]_[organic_or_conventional][date_time][agent_number]"}
<h3>Select and enter data</h3>
{embed="stembeds/.blending_select_tea"}

{!--------Receive data to create value--------}
<input type="hidden" name="title" value="" />
<br /><br />
Organic Or Conventional:
 {field:org_con}

 Agent Number:
 {field:agent_number}

{!-----END Receive data to create lot number-------} 

This is the embed:

<select name="selected_tea">
<option selected="selected" >Select a Tea</option>
{exp:channel:entries channel="tea_herbs" order_by="title" sort="asc"}

<option name={title} id={entry_id} value={url_title}>{title}</option>

{/exp:channel:entries} 

</select>

In embed line 4 I have id=”{entry_id}

<option name={title} id={entry_id} value={url_title}>{title}</option>

I want to take entry id and append it to safecracker’s URL like below:

{exp:safecracker channel="blending_log"  return="sthome/blending/ENTRY_ID/entry_id" dynamic_title="     [selected_tea]_[organic_or_conventional][date_time][agent_number]"}

Because I want to use entry_id in next page to retrieve some data in tea_herbs channel using {last_segment}

Is this possible ?

I read documents for safecracker and I tried entry_id = “{segment_….}” but it did not work.
May be I am using entry_id = “{segment_….}” wrong way.

Please help me to accomplish this task

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:38:38+00:00Added an answer on June 14, 2026 at 9:38 pm

    In your SafeCracker tag, ENTRY_ID will be replaced with the actual entry ID of the new entry. So just use return="sthome/blending/ENTRY_ID. This will redirect you to sthome/blending/45 (for example).

    Then, use entry_id="{segment_3}" in your sthome/blending template – though if you’re using a standard Channel Entries or Safecracker tag on that page, it should read the entry ID automatically (since its the third segment).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some models and I want to generate a multi-selection form from this
I am losing hair over this. All I want is to append the Session
i want to append unlimited number of HTML elements with data given as comment.
I want to append .item element before .content element but it just simply removes
I want to append a div inside a div which have many divs inside
I want to append a record in a TClientDataSet based on another record (in
I want to append a <br /> to a particular class. Using the :after
I want to .append to a div and pass the value on as html
I want to append more text behind UILabel in iOS. In other languages, we
If I want to append the contents of a src file into the end

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.