I am using record types to filter a picklist. The issue I'm running into is my visualforce page will not display ON NEW the record type no matter what I do. I'm using the syntax {!myObject.recordtype.name}
and also check Apex. The record type saves and shows properly on the standard page, the detail screen, and the edit page.
In my Apex controller on NEW record, if I put
system.debug(myObject.RecordType.name) //I get null on NEW
But when I put do that on the edit screen
system.debug(myObject.RecordType.name) //I get my record type on the debug log
Because the record type is on the screen in the edit page, the picklist filters. Because it's not on the NEW page, the picklist will not filter.
I cannot get access to the assigned record type on new
NEW PAGE
EDIT PAGE