JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Share
Explore
Form Lookups Example
Connor McCormick
Fill out the form for a particular person and it should automatically link that row in the
Person
column of the [Order] table.
People
People
Name
Value
Form Link with thisRow.EncodeForUrl()
Form Link with thisRow.Name
Form Link with thisRow
Form Link with thisRow.RowId()
Form Link with r + RowId()
Name
Value
Form Link with thisRow.EncodeForUrl()
Form Link with thisRow.Name
Form Link with thisRow
Form Link with thisRow.RowId()
Form Link with r + RowId()
Connor
The first connor
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=https%3A%2F%2Fcoda.io%2Fd%2F_d9ULh8DmGOh%23_tud3dswo%2Fr3&Method=Form%20Link%20with%20thisRow.EncodeForUrl()
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=Connor&Method=Form%20Link%20with%20thisRow.Name
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=grid-oz9ed3dswo/i-IZ5ANI4fHC&Method=Form%20Link%20with%20thisRow
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=3&Method=Form%20Link%20with%20thisRow.RowId()
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=r3&Method=Form%20Link%20with%20r%20%2B%20RowId()
Connor
The second instance
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=https%3A%2F%2Fcoda.io%2Fd%2F_d9ULh8DmGOh%23_tud3dswo%2Fr5&Method=Form%20Link%20with%20thisRow.EncodeForUrl()
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=Connor&Method=Form%20Link%20with%20thisRow.Name
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=grid-oz9ed3dswo/i-n5GUWYAmZG&Method=Form%20Link%20with%20thisRow
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=5&Method=Form%20Link%20with%20thisRow.RowId()
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=r5&Method=Form%20Link%20with%20r%20%2B%20RowId()
Someone Else
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=https%3A%2F%2Fcoda.io%2Fd%2F_d9ULh8DmGOh%23_tud3dswo%2Fr4&Method=Form%20Link%20with%20thisRow.EncodeForUrl()
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=Someone%20Else&Method=Form%20Link%20with%20thisRow.Name
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=grid-oz9ed3dswo/i-FD6Q9EHo6O&Method=Form%20Link%20with%20thisRow
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=4&Method=Form%20Link%20with%20thisRow.RowId()
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ?Person=r4&Method=Form%20Link%20with%20r%20%2B%20RowId()
There are no rows in this table
Order
Order
Burger
Connor
Form Link with thisRow.EncodeForUrl()
This gets monstrously close to what I need.
Formula was:
Hyperlink([Order Form Url] + '?Person=' + thisRow.Url().EncodeForUrl())
Salad
Connor
Form Link with thisRow.Name
grid-oz9ed3dswo/i-n5GUWYAmZG
Form Link with thisRow
This would be the easiest for most people
Formula was simply:
Hyperlink([Order Form Url] + '?Person=' + thisRow)
Pizza
5
Form Link with thisRow.RowId()
There are no rows in this table
Order Form Url:
https://coda.io/form/Untitled-Form_ddJMB3kPZpQ
Menu
Menu
There are no rows in this table
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
Ctrl
P
) instead.