Add field value as url parameter in detail page

Permalink Browser Info Environment
I wonder if it's possible to add a dynamic url parameter to a link in a detail page. The url parameter should come from a field value. So I would be able to grab that url parameter in another form. Or is there an easier way to link two forms in the sense that I could have a form-entry filled out with a value based form where the user comes from (a specific detail page form the other form/data-display-database).

Type: Discussion
Status: New
sgtmueller
View Replies:
sgtmueller replied on at Permalink Reply
sgtmueller
Guess I found the solution meanwhile. With the placeholder attribute it is possible to use a field info in double curly braces {{...}} and like that construct a link with dynamic url parameters in valid html/xml.
FatTony1952 replied on at Permalink Reply
FatTony1952
Can you show an example of how you accomplished this? I'm trying to figure the same thing out, but I'm not sure how to store the parameter in the subsequent form. I need to store the asID as a foreign ID in the subsequent form.

Thanks!
FatTony1952 replied on at Permalink Reply
FatTony1952
So far I have this:

<field name="Record ID" placeholder="FID" />
<a href="http://mysite.com/form-page/{{FID}}">Leave a message</a>


I'm 100% certain this url is not correct because the Record ID isn't showing up in the URL, but I'm slowly figuring it out.

I'm trying to pass the Record ID to another form page and store that Record ID as a foreign ID in that form.
jgarcia replied on at Permalink Reply
jgarcia
Try this:

<recordid placeholder="recordid" />
<a href="http://www.example.com?rID={{recordid}}">Link</a>
FatTony1952 replied on at Permalink Reply
FatTony1952
That worked. I knew I was close!

Now I just have to sort a list based on that value.

Thanks!
FatTony1952 replied on at Permalink Reply
FatTony1952
One more question, jgarcia...

In the form to add a list to a page, you can choose to filter the results. I can put a value in there and filter, but will that field accept html? I need it to filter dynamically based on the URL parameter.
jgarcia replied on at Permalink Reply
jgarcia
No it will not accept HTML. It will only filter a static value.
FatTony1952 replied on at Permalink Reply
FatTony1952
The functionality of the Display Single Record block is what I'm going for, but I need it to display multiple records.

I'm going to keep chopping away at it and see what I can come up with.

Thanks!
FatTony1952 replied on at Permalink Reply
FatTony1952
I'm going to try to use the Simple PHP Block to create my link to the form to see if I can pass the dd_asID to the form page and store it in the form from there.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.