Hi,
So I have a "Contact Us" form on my portal. On the form there is a look-up field to another entity called "Unit".
When the contact form is submitted it will create a lead in CRM and that's perfect. But I want to attach the look-up name onto the contact form for the unit, so that when the form is submitted it will already have look-up to the unit in CRM.
When I go to the contact form on the portal I have the unit primary name (look up name) in the request parameter, so I have the name available, I'm just not sure how to insert the value onto the form without having the user doing it.
So to clear things out:
I have a portal for showing all my units (apartments). You can go straight to a "contact us" page from the landing page or the navigation panel and create a lead in CRM (this form does NOT have the unit field). If you go into the "Unit" page it will show you all the units. From where you can pick a specific unit and that will navigate to a new page with a lot more details for this particular unit. On this detail page I have created a button called "Book Viewing" which navigates to a second "Contact Us" form (this form has the unit field as a read-only - essentially this field could be all hidden when things are working properly). The "Book Viewing button" sends the unit's primary name (look-up name) to the second contact us form in the request params, so I have the look-up name available I just dont know how to insert the value into the form field?
I have been using liquid a lot and believe this might be the way to do this but I'm not sure how.