我提前道歉,因为我是一个极端的新手,但我正在努力帮助推出一个网站,我必须帮助设计这一页,要求用户输入将转换为Salesforce数据。
例如,我想更改一些标题更具描述性,我想添加更多的措辞来帮助解释我想要的内容。我可以做其中任何一件事吗?此外,最后一个字段 - “请解释”应该在它上面的“其他”选项旁边列出 - 我可以将它移到“其他”旁边吗?
<!-- ---------------------------------------------------------------------- -->
<!-- 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://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="00Di0000000cMJ7">
<input type=hidden name="retURL" value="http://www.hearttutoring.org">
<!-- ---------------------------------------------------------------------- -->
<!-- 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="eelliott@hearttutoring.org"> -->
<!-- ---------------------------------------------------------------------- -->
<label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
<label for="last_name">Last Name</label><input id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>
<label for="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" /><br>
<label for="company">Company</label><input id="company" maxlength="40" name="company" size="20" type="text" /><br>
What time would you like to tutor? *:<select id="00Ni000000DN633" multiple="multiple" name="00Ni000000DN633" title="What time would you like to tutor? *"><option value="7:45 - 8:45 AM">7:45 - 8:45 AM</option>
<option value="1:15 - 2:15 PM (Winterfield only)">1:15 - 2:15 PM (Winterfield only)</option>
<option value="1:45 - 2:45 PM (Billingsville only)">1:45 - 2:45 PM (Billingsville only)</option>
<option value="~1:30 - 2:30 PM (no school preference)">~1:30 - 2:30 PM (no school preference)</option>
<option value="No preference">No preference</option>
</select><br>
Which days are you available?:<select id="00Ni000000CMuNZ" multiple="multiple" name="00Ni000000CMuNZ" title="Which days are you available?"><option value="Monday">Monday</option>
<option value="Tuesday">Tuesday</option>
<option value="Wednesday">Wednesday</option>
<option value="Thursday">Thursday</option>
<option value="Other">Other</option>
</select><br>
How long are you available?:<select id="00Ni000000CMuJr" name="00Ni000000CMuJr" title="How long are you available?"><option value="">--None--</option><option value="1 Hour (2 Sessions)">1 Hour (2 Sessions)</option>
<option value="30 Minutes (1 Session)">30 Minutes (1 Session)</option>
<option value="Other">Other</option>
</select><br>
At which school would you like to tutor?:<select id="00Ni000000DN63S" name="00Ni000000DN63S" title="At which school would you like to tutor?"><option value="">--None--</option><option value="Billingsville Elementary">Billingsville Elementary</option>
<option value="Winterfield Elementary">Winterfield Elementary</option>
<option value="No preference">No preference</option>
</select><br>
Other scheduling preferences:<textarea id="00Ni000000CMubb" name="00Ni000000CMubb" type="text" wrap="soft"></textarea><br>
How did you hear about HEART Tutoring?:<select id="00Ni000000CMuJ8" name="00Ni000000CMuJ8" title="How did you hear about HEART Tutoring?"><option value="">--None--</option><option value="I am a returning HEART Tutor">I am a returning HEART Tutor</option>
<option value="Other">Other</option>
</select><br>
Please Explain:<textarea id="00Ni000000DN63r" name="00Ni000000DN63r" type="text" wrap="soft"></textarea><br>
<input type="submit" name="submit">
</form>
我担心的主要问题是如果我在此代码中弄乱了Field Labels,他们是否无法连接回Sales Force中的相应字段。即使我可以在字段名称的下方或旁边添加一些有用的描述......
答案 0 :(得分:1)
您可以更改<label>
标记内的任何内容。
例如:
<label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
可以:
<label for="first_name">Anything I want in here</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
移动字段位置也没关系,只要ID不被更改,它们在页面中的位置无关紧要。