Skip to Content

How Skip or Ignore default field validation

Hi Experts,

I have following extension field in opportunity.

[Label("Source Opp ID")] element sourceOppID:BusinessTransactionDocumentID;

This field is a value help which take ID of Opportunity. Customer requirement is to make the same field editable so that customer can add some extra letter before the ID.

By doing so system generates an error that it is not a valid opportunity ID which is correct but we want to skip or ignore this message only for this custom field.

What should I do to achieve it?

Thanks in advance.

Best regards,

Zahid

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 05, 2017 at 11:23 PM

    Hi,

    The validation is triggered implicitly by the framework and cannot be turned off.

    So you might have to think of different solution may be by creating another ID field (non ovs) and copying the value from OVS field to input field. and you can play around by enabling/disabling or controlling the visibility.

    Thanks & regards

    Pramodh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.