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
CaitlinMCaitlinM 

Setting priority field in Web to Case

We are trying to pass a hidden value to the Priority field with our web to case form. We are using this syntax, but it's blank in the created case: 

 

<input type=hidden name="Priority" id="Priority" value="Level 3 - Medium">

Is there something wrong with this syntax? Is it just not possible to set a value to this field? Other hidden fields are working in our form. We also tried leaving it off the form entirely and using the picklist's default value to set the value, but this still left us with a blank field. 

meseriasmeserias

Try this:

<select style="display:none" id="priority" name="priority"><option value="Medium">Medium</option></select>

Scott LoganbillScott Loganbill
I had the same problem and found the answer here:
https://success.salesforce.com/answers?id=90630000000huT9AAI&feedtype=SINGLE_QUESTION_DETAIL&dc=All&criteria=OPENQUESTIONS&

Simply lowercase "priority" in the name and id attributes.