Is Conditional Rendering available on New Record pages?

Jacob FlatterJacob Flatter Member
edited March 2017 in Questions
I can't seem to figure this one out. I have a condition for rendering a few fields contained in a Field Editor. The condition is a value of the Account Record Type ID. Is this feasible when I am creating a new record? I guess my condition is based more on filled values, more than data contained within the model. Also possible that I am not previewing / testing this appropriately. Thanks for the help, Jacob

Comments

  • Rob HatchRob Hatch Skuad ✭✭
    edited September 2016
    Conditional rendering happens client side, in real time.  If the data currently in the client side copy of your model meets the condition - the element will render.  If that changes, it will not render.  I have created new pages where a value in Field A controlled the display of Field B (which was right next to it).   The page opens in edit mode and Field A is blank and Field B is not displayed.  After typing a value in Field A that meets the criteria - field B is immediately displayed.  There is a calculation gap before the field displays, but Tab out, or save, or reload is not required. 

    Make sure both fields are in your model, and that the render condition statement is correct. 

    Its pretty cool stuff. 
  • Zach McElrathZach McElrath Skuad
    edited March 2017
    Yes you should be able to render different areas based on the new Account's RecordTypeId field, as long as the "RecordTypeId" field is in your Model. .
  • j_flatterj_flatter Member
    edited March 2017
    Do I have to create a VF page to house the Skuid page before testing this, or should I be able to test this from the Preview?
  • Zach McElrathZach McElrath Skuad
    edited December 2016
    You can test this just from Preview.
  • j_flatterj_flatter Member
    edited March 2014
    OK, I created a new page for Account New Record, using the New Record template. I added RecordType to the model. I added RecordType to the Field Editor. I changed the Render mode to Picklist I then created a new Field Editor with other fields, and a Render condition which asserts RecordTypeID = individual value (012i0000000n4OQ) . The field editor does not render.
  • j_flatterj_flatter Member
    edited March 2014
    The Record Type . Name value has spaces in it, but as a label I don't think that should matter.
  • j_flatterj_flatter Member
    edited March 2014
    I got another picklist to successfully serve as the Render Condition, just not record type ID. Maybe it wants the 18 digit code instead of the 15?
  • j_flatterj_flatter Member
    edited March 2014
    Yes, that was definitely the answer!! The condition required the 18 digit value. Any chance you could support both?
  • Rob HatchRob Hatch Skuad ✭✭
    edited September 2016
    We do need to support the reference field name as well.  We'll consider this a bug.  Thanks for your diligence in testing this out. 
  • Jacob FlatterJacob Flatter Member
    edited March 2014
    The Label , 15 Digit ID and the 18 Digit ID would be AWESOME. Thanks for the response, Jacob
  • JonathanJonathan Member
    edited June 2014
    I know this thread is a few months old, but I just ran into this same issue - having support for using the record type's name would be great! Any idea on when it might be added?
Sign In or Register to comment.