function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Cory GriffinCory Griffin 

URL Query String for default value in Form Widget

Hello all,  

I am trying to pass a default value onto a site.com form widget.  I want to populate 'Department to Charge' with the selected (picklist) value that is saved on the current logged in user record. I have done 'URL hacking' before, but nothing I try is populating this or any other field i've attempted.

I am having trouble finding a guide on formatting for this setting.  Can anyone help?
The URL for the 'new form' edit page is:
https://sitepreview.cs18.force.com/CompanyName/s/Travel%20Approval

Field name that is to be populated is 'Department_to_Charge__c'
Field name where the value comes from (picklist) is 'User.Entity_Name__c'screenshot

Thanks in advance for any help given