Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    I have an email template in Salesforce that auto-fills various fields in a FormAssembly form. Conceptually everything is working fine. But when the template pre-fills the Full Name and Applicant's School fields with values that contain spaces (as you would expect), the live link that appears in the email message stops at the first space. I would think that Salesforce would embed %20 values or something to handle this. I know this can be done ... what's the trick?

    http://www.tfaforms.com/219183?tfa_ContactID={!Contact.Id}&tfa_FullName={!Contact.Name}&tfa_ApplicantsSchool={!Account.Name}&tfa_ApplicantsEmailA={!Contact.Email}

    Thanks,

    Mark
  2.  
    Got it working. It appears that the solution is to use the Custom template type, not the HTML with Letterhead type. The Custom type properly translates HTML link code into a prompt with properly addressed link. Comments welcome re: other techniques.
    • CommentAuthordbuschho
    • CommentTimeSep 29th 2011
     
    Hey Mark,

    Sometimes, depending on the configuration you're using, you might need to use a function like:
    URLENCODE or HYPERLINK
    to get Salesforce to encode the data right. For your case, it might be something like:

    http://www.tfaforms.com/219183?tfa_ContactID={!Contact.Id}&tfa_FullName={!URLENCODE(Contact.Name)}&tfa_ApplicantsSchool={!URLENCODE(Account.Name)}&tfa_ApplicantsEmailA={!Contact.Email}

    Unfortunately with all the different Salesforce possible configs, it can be a bit fiddly.

    Happy to help further,
    Drew
    FormAssembly.com Support


    http://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_functions.htm