Activity Forums Salesforce® Discussions Lookup / free text field in Salesforce?

  • Lookup / free text field in Salesforce?

    Posted by Nitish on April 30, 2016 at 6:14 pm

    We would like our Staff (internal salesforce users) to be able to populate a field based upon a lookup of data in a custom object when submitting a Case.

    In contrast we also have an online form for anonymous users to submit a Case and we want them to input their own reference but not have it looked up. We can not have any validation against this field so it should be left as free text but mandatory.

    Any thoughts or is 2 fields necessary (I really assume it is necessary as we can't use a lookup field to store information that isn't available in the lookup table...).

    Himanshu replied 8 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Himanshu

    Member
    May 30, 2016 at 10:03 am

    Hi Nitish,

    You would need to store the second reference string in a separate field. Attempting to update a lookup field with anything other than a valid record ID (or null) will result in an error being thrown, and any changes to the record will not be committed

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos