CRM On Demand - Administration (MOSC)

MOSC Banner

Javascript - Hidding non-required fields on the edit screen.

edited Mar 5, 2015 10:04AM in CRM On Demand - Administration (MOSC) 1 commentAnswered

I'm looking for a way to only show required fields when in edit mode of an Opportunity.  In the detail page I'd like to see everything listed.

It's fairly easy to identify the labels since they are classified as required.  There doesn't seem to be any similar convention for the input fields.  Does anyone know of any attribute that identifies these input fields as being required or have any suggestions on what I can try?

Here's my code for the labels:

<script>

oraclecrmod.onReady(function () {

    if (oraclecrmod.ctx.isObject("Opportunity") && oraclecrmod.ctx.isEditPage()) { // checking if this is Opportunity Object Edit page

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center