Newer Version Available
Customizing the HTML Registration Form
The sample registration HTML form you received by logging a case on the Partner Community is just a template, and you’ll need to modify it. There are some mandatory changes that must be made to ensure that the proper trial is provisioned. You can , optionally, modify the file to reflect the look and feel of your website and brand.
You’ll need to assign the formName and Lead.Partner_Account values in the HTML form to those provided by the partner support team. These values will be given to you in the email that contains the sample HTML registration form.
- Open your registration form HTML file in a text or HTML editing tool.
- Change the following lines of HTML in the registration form to
reflect this information by updating the value attribute. Search for
the TODO comment, which will help you find the lines to change.
1<!-- TODO: Add Signup Config Item Name of Config record as formName --> 2<!-- TODO: Add Partner Account Record Id for Partner Lookup on Lead 3 (Provided by Salesforce.com--> 4<input type="hidden" name="formName" value=""/> 5<input type="hidden" name="Lead.Partner_Account__c" value=""/> - Search for and modify other sections in the form labeled "TODO."
This will allow you to do things like specify company logos, override
success or failure pages, and so on.
- Open your registration form .HTML file in a text or html editing tool.
- Search for the term "TODO".
- Follow the instructions in the comments to change the appropriate
portion of the form. Examples of items that can be changed in this
way:
- provide a custom logo
- modify the display name of the application (do not use spaces)
- specify your company name as the referring entity for any leads generated by the form
- specify custom URLs for success and failure redirects
- update the language/locale of the form
- Modify the HTML and CSS to match the look and layout of your website
Once the changes have been made, you can test filling out and submitting the form to verify that new trial organizations are provisioned correctly.
If you haven’t already done so, log another case on the Partner Community to associate your trial template snapshot ID with your FormName. Otherwise, the trials provisioned by filling out the form will be generic Force.com two day trials.