What will happen if I provide value in both Pre-Default and Post-Default properties?

I will try to explain the answer with the help of an example of  “Status” field.

We will assume the following values have been given for Pre-Default and Post-Default properties of Status Field

Pre-Default Value:  “In Process”
Post-Default Value:  “Complete”

Following are the scenarios which can take place:

User creates a New Record and saves the record without changing value of status field:
Pre-Default value (In Process) will be assigned to Status field.

User creates a New Record and changes the value of Status field to “Planning”
Pre-Default value is going to take effect as soon as user creates a new record but Post-Default value will not take effect. [Corrected as pointed by Gururaj]
User creates a New Record and changes the value of Status field to blank
Post Default Value (“Complete”) will take effect

User copies an existing record where value of status field is “Planning”
Neither Post-Default nor Pre-Default will take effect

User copies an existing record where value of status field is blank
Pre-Default (“In-Process”) Value will take effect

User copies an existing record  and makes the value of the field as blank
Post-Default Value (“Complete”) will take effect

User changes the value of existing record to blank and saves the record.
Neither Post-Default nor Pre-Default will take effect as these values only takes when the record is initially created and saved.

Click here to get more details about Pre-Default and Post Default properties

Related Questions

Subscribe / Share

Article by neel

Authors bio is coming up shortly. neel tagged this post with: Read 38 articles by neel
  • Ashwini
    Hi,

    I tried the scenairos locally.
    According to me for scenaio 5:
    User copies an existing record where value of status field is blank
    Pre-Default (”In-Process”) Value will take effect

    The Correct answer is:
    The Post Default value ("Complete")will take effect.

    When the User makes the status field blank for the existing record and then copies,The value of the "Status Field" will become "Complete" in the existing record and hence in the copied record also it will be the Post Default value "Complete".
  • Sajid
    Scenario 5:
    User copies an existing record where value of status field is blank
    Pre-Default (”In-Process”) Value will take effect

    The Correct answer is:
    Here Post-Default ("Complete") value will take effect.

    As Pre-Default value will be reflected only when the user creates a New record.
  • Gururaj
    Second scenario i.e.
    User creates a New Record and changes the value of Status field to “Planning”
    Neither Post-Default nor Pre-Default will take effect

    I think correct answere is
    Pre-Default will take effect but not Post-Default.
  • neel
    I think you are correct. Pre-Default will take effect as soon as user is going to create a new record. will correct the post.
blog comments powered by Disqus