Auto-populate a form field with the result of a formula in the sheet.
I have my sheet set up so that when I click the generated URL, certain fields of the form that the URL leads to are auto-populated with values from the same row. My issue is that it seems like I can only auto-populate manually entered values and not values generated from column formulas. Is there a way to do this? Maybe I can make a helper column and have the text string of the formula result appear there?
Answers
-
Andrée Starå ✭✭✭✭✭✭
I hope you're well and safe!
Yes, it's possible. I'll get back to the post with an example.
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
✅了我的帖子(s)帮助或回答你吗r question or solve your problem? Please support the Community bymarking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35
Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.
1 -
Thanks Andrée!
0 -
Andrée Starå ✭✭✭✭✭✭
Here's an advanced example where I used a sheet summary field for the Form Url and a couple of substitutes parts to replace characters.
=[FORM URL]# + SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE([email protected], " ", "%20"), ",", "%2C"), "&", "%26"), "#", "%23")
The formula above would output something similar to this. (dummy link)
Make sense?
✅Remember!了我的帖子(s)帮助或回答你吗r question or solve your problem? Please support the Community bymarking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35
Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.
0 -
Thanks for the response, but I'm having trouble understanding how it works. Here's what my sheet looks like:
The 2nd cell is the one I'm having trouble with. It comes from a formula that takes the contents of the 8th cell and puts a "-" between each word so it works as a URL. (The 8th cell also comes from a vlookup formula). The formula I have in the last cell with the link is this:
=IF([email protected]<> "", ("https://app.smartsheet.com/b/form/cbaa8bb0775146409fd553261060221e?SKU="+[email protected]+ "&Location=" +[email protected]+ "&Name=" +[URL Name]@row), ("https://app.smartsheet.com/b/form/cbaa8bb0775146409fd553261060221e?SKU="+[email protected]+ "&Location=" +[email protected]+ "&Name=" +[URL Name]@row))
Should I embed Substitute formula into where I have the [URL Name]@row to turn it into a string of text? The form won't allow me to add the field associated with that column or any column that uses a column formula. See below:
0 -
@Andrée Staråis there a way I can make this work?
0
Help Article Resources
Categories
I tested it out on a sheet just now. If I change the date column properties to have \"Restrict to dates only\" selected then it didn't like me entering 04\/31\/22. That should fix it I believe. Since you're the sheet owner (I'm guessing), then you'll get a warning which will allow you to enter a non-date but others won't get the warning. They just won't be allowed to enter non-dates or dates such as 04\/31\/22 or 02\/30\/22.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-08-25 22:58:19","updateUser":{"userID":146734,"name":"Paul G.","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20G.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-25T23:32:12+00:00","banned":0,"punished":0,"private":false,"label":"✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":94640,"type":"question","name":"Need Formula Help Multiple Date Columns, count days, if blank choose other column","excerpt":"I have Multiple date columns for approvals. I want to find the number of days between columns, but some are blank so I need it to choose another date column based on what I set. I've included example data.","categoryID":322,"dateInserted":"2022-08-24T20:45:19+00:00","dateUpdated":"2022-08-24T20:46:14+00:00","dateLastComment":"2022-08-25T17:13:45+00:00","insertUserID":151431,"insertUser":{"userID":151431,"name":"Geilisa","url":"https:\/\/community.smartsheet.com\/profile\/Geilisa","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-25T17:13:57+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":151431,"lastUserID":151431,"lastUser":{"userID":151431,"name":"Geilisa","url":"https:\/\/community.smartsheet.com\/profile\/Geilisa","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-25T17:13:57+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":43,"score":null,"hot":3322825144,"url":"https:\/\/community.smartsheet.com\/discussion\/94640\/need-formula-help-multiple-date-columns-count-days-if-blank-choose-other-column","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/94640\/need-formula-help-multiple-date-columns-count-days-if-blank-choose-other-column","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":94640,"commentID":341210,"name":"Re: Need Formula Help Multiple Date Columns, count days, if blank choose other column","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/341210#Comment_341210","dateInserted":"2022-08-25T17:13:45+00:00","insertUserID":151431,"insertUser":{"userID":151431,"name":"Geilisa","url":"https:\/\/community.smartsheet.com\/profile\/Geilisa","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-25T17:13:57+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/ADVXWG7LFUY9\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2022-08-25T17:13:56+00:00","dateAnswered":"2022-08-25T17:13:45+00:00","acceptedAnswers":[{"commentID":341210,"body":"