Sign Up

❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

OrclQA.Com

OrclQA.Com Logo OrclQA.Com Logo

OrclQA.Com Navigation

  • Ask Question
  • Write a Tutorial
  • Online Courses
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Blog
  • New Questions
  • Tutorials
    • Oracle
    • Oracle Apex
    • Python
  • Tags
  • Users
  • Badges & Points
  • Image to Base64
  • PL/SQL Beautifier
  • Ask Question
  • Write a Tutorial
  • Online Courses
Farooq Ahmad
Farooq Ahmad

Farooq Ahmad

  • Lahore, Pakistan
  • 20 Questions
  • 23 Answers
  • 0 Best Answers
  • 200 Points
View Profile
  • 0
Farooq AhmadProfessional
Asked: September 5, 20202020-09-05T13:41:20+05:30 2020-09-05T13:41:20+05:30

Text field conditional formatting in Oracle Apex

  • 0
Advertisement

Hi Sir . i have One Text Field . there will come two value TOP or MID Now I Want When TOP Come Font Color Must Be Green And If MID Then It Will Be Red.  Note: Its only one field and i did DA IF :P2_T1 is null the STAUS=TOP , :P2_T1 is not null then STATUS = MID .

conditionaloracle apex
  • 4
  • 2k
  • 0
  • 0
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
Answer
    Advertisement

    4 Answers

    1. Vinish

      Vinish

      • 1 Question
      • 863 Answers
      • 74 Best Answers
      • 4k Points
      View Profile
      Vinish Enlightened
      2020-09-05T14:25:04+05:30Added an answer on September 5, 2020 at 2:25 pm

      Create a dynamic action on that text field and set the client-side condition, as shown in the following example:

      Client-side condition for DA.

      Now set the action Set style as following:

      Oracle Apex set style DA.

      Now create another dynamic action same as above and set the color red. It should work as you need.

      • 1
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
    2. Farooq Ahmad

      Farooq Ahmad

      • Lahore, Pakistan
      • 20 Questions
      • 23 Answers
      • 0 Best Answers
      • 200 Points
      View Profile
      Farooq Ahmad Professional
      2020-09-05T17:19:07+05:30Added an answer on September 5, 2020 at 5:19 pm

      Amazing Sir That's Great Thanks A Lot ,... Sir If At A Time I am using Both Color And Bold And Font Size How To Deal With This ...take Separate Action For It Or Will Cover In One Action

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
      • Vinish

        Vinish

        • 1 Question
        • 863 Answers
        • 74 Best Answers
        • 4k Points
        View Profile
        Best Answer
        Vinish Enlightened
        2020-09-05T17:50:19+05:30Replied to answer on September 5, 2020 at 5:50 pm

        You are welcome.

        If you need to apply more CSS then choose the action Add Class instead of Set Style. For example:

        Set the action: Add Class

        Class Name: fontgreen

        Add the following CSS in page inline CSS section:

        .fontgreen{
        font-weight: 700;
        color: green;
        font-size: 18px;
        }
        • 1
        • Share
          Share
          • Share on Facebook
          • Share on Twitter
        • Farooq Ahmad

          Farooq Ahmad

          • Lahore, Pakistan
          • 20 Questions
          • 23 Answers
          • 0 Best Answers
          • 200 Points
          View Profile
          Farooq Ahmad Professional
          2020-09-05T23:29:28+05:30Replied to answer on September 5, 2020 at 11:29 pm

          Thanks A lot sir all are working fonts size are not increasing but thats not issue sir.. thanks sir

          • 0
          • Share
            Share
            • Share on Facebook
            • Share on Twitter

    You must login to add an answer.

    Forgot Password?

    Advertisement

    Sidebar

    Ask Question
    Write a Tutorial
    Advertisement

    Recent Blog Posts

    • Vinish

      Oracle LENGTH()

    • Vinish

      Oracle INSTR() Function

    • Vinish

      Oracle INITCAP() Function

    • Vinish

      Oracle Concat

    • Vinish

      Oracle CHR Function

    Advertisement
    Advertisement

    Explore

    • Home
    • Blog
    • New Questions
    • Tutorials
      • Oracle
      • Oracle Apex
      • Python
    • Tags
    • Users
    • Badges & Points
    • Image to Base64
    • PL/SQL Beautifier

    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    © 2021 OrclQA.Com. All Rights Reserved.
    Privacy Policy - About Us