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
Leonard Silon 16Leonard Silon 16 

Easy (hopefully) web-to-case case contact question

We want to use web-to-case form internally in the intranet only. I have everything working except I do not know how to capture the person filling in the form and their name populate the contact field on teh case.

Also, the effective date is being captured but not populating the effective date field on the case. Below is the form code.

WOuld love a drop of help here please :-)

<!--  ----------------------------------------------------------------------  -->
<!--  NOTE: Please add the following <META> element to your page <HEAD>.      -->
<!--  If necessary, please modify the charset parameter to specify the        -->
<!--  character set of your HTML page.                                        -->
<!--  ----------------------------------------------------------------------  -->

<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">

<!--  ----------------------------------------------------------------------  -->
<!--  NOTE: Please add the following <FORM> element to your page.             -->
<!--  ----------------------------------------------------------------------  -->

<form action="https://cfs--Lightning.cs71.my.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8" method="POST">

<input type=hidden name="orgid" value="00D4D000000Cs5j">
<input type=hidden name="retURL" value="http://www.google.com">

<!--  ----------------------------------------------------------------------  -->
<!--  NOTE: These fields are optional debugging elements. Please uncomment    -->
<!--  these lines if you wish to test in debug mode.                          -->
<!--  <input type="hidden" name="debug" value=1>                              -->
<!--  <input type="hidden" name="debugEmail" value="lsilon@cfs.canon.com">    -->
<!--  ----------------------------------------------------------------------  -->

<table>

<tr>
   <td><label for="email">Your Full CFS Email Address</label></td>
   <td><input  id="email" maxlength="80" name="email" size="20" type="text" /></td>
</tr>

<tr>
   <td>Effective Date:<span class="dateInput">
   <td><input  id="00N4D000000hcXn" name="00N4D000000hcXn" size="20" type="date" /></span></td>
</tr>
<tr>
   <td>SOD Infolease Template_AR:</td>
   <td><input  id="00N4D000000vJcr" name="00N4D000000vJcr" type="checkbox" value="1" /></td>
</tr>
<tr>
   <td>SOD Nexus Master Template AR:</td>
   <td><input  id="00N4D000000vJd1" name="00N4D000000vJd1" type="checkbox" value="1" /></td>
</tr>
<tr>
   <td>SOD Nexus Oracle AR:</td>
   <td><input  id="00N4D000000vJd2" name="00N4D000000vJd2" type="checkbox" value="1" /></td>
</tr>
<tr>
   <td>SOD Nexus Server Admin AR:</td>
   <td><input  id="00N4D000000vJd6" name="00N4D000000vJd6" type="checkbox" value="1" /></td>
</tr>
<tr>
   <td>SOD Salesforce Production Admin AR:</td>
   <td><input  id="00N4D000000vJcw" name="00N4D000000vJcw" type="checkbox" value="1" /></td>
</tr>

<br>
<tr>
   <td><label for="description">Description</label></td>
   <td><textarea name="description"></textarea><br></td>

</table>
<input type="hidden"  id="subject" name="subject"  value="IT Action: Developer Production Access" /><br>

<input type="hidden"  id="external" name="external" value="1" /><br>

<Input Type="hidden"  id="recordType" name="recordType" Value="0124D0000000OOK"><br>

<input type="submit" name="submit">

</form>