You need to sign in to do that
Don't have an account?
Michael Webb 15
How do I create a new record with a record type/page layout from a formula
I have a custom object that has a State field on it, related to this custom object is a another custom object with Questions we ask depending on what state the first object is located. ie the Company Account is in New York, then the user clicks on New QA and then chooses NY for the record type and the page layout for NY and the questions shows up. I would like to see if I could create a custom button to create a new object and when it see's New York as the state from the Object it is being created from, it automatically defaults to the record type of New York. Same with California, Alabama and so on. I know I can set the record type, not sure how to do that with a formula.
Thanks in Advance!
Michael
Thanks in Advance!
Michael
I think there are two ways:
Regards
Robert
(mindforce: mind-force.de)
perhaps you can find here some information: https://developer.salesforce.com/page/JavaScript
Best Regards
Robert
(mindforce: http://www.mind-force.de)