Skip to main content
Amanda Rollins (PUCO) a posé une question dans #Collaboration
I have a vehicle request form. The form is used by both a standard user and a manager.

 

Step 1) A standard user fills out the request form to request a loaner vehicle.

 

Step 2) The manager recieves the request, goes into the form and fills in the Make and Model of the vehicle. (The standard user can not insert data into these fields. Only the manager can)

 

The problem I have is, on the request form for the standard user, the Make and Model fields show labels, but do not have boxes with data (because they've not yet been assigned a vehicle.

 

Having the blank spaces are very ugly. I've been told this cannot be done since we are using the same form for both users. I would like to hide these fields for the standard user UNTIL the manager fills the data out.

 

We are new to Salesforce and are trying to recreate a very simple application without using Visualforce. We are seeing how far we can get without Visualforce.

 

So my question is: Can these fields be hidden when there's no data in them (for the standard user while still showing them for the manager), or can this only be done by using Visualforce?

 

(I've attached an image of the blank fields (make and model) vs. fields that are enabled for the standard user to enter data into)Is there a way to hide empty fields?

 

 
2 réponses
  1. 18 mai 2017, 19:54
    Hi Amanda

     

    You can present users on different profiles with different page layouts by using record types.  So as per your question the user would be on a profile that only has access to a record type with an associated page layout that doesn't include thos fields while the managers profile would have a different record type that presented them with a  page layout that did include those fields.  Here's a help page that somebody has wriiten:

     

    http://www.salesforcetutorial.com/page-layouts-and-record-types-in-salesforce/

     

    Rich