Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Effortless App Development with Oracle Visual Builder

You're reading from   Effortless App Development with Oracle Visual Builder Boost productivity by building web and mobile applications efficiently using the drag-and-drop approach

Arrow left icon
Product type Paperback
Published in Mar 2021
Publisher Packt
ISBN-13 9781800569805
Length 500 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ankur Jain Ankur Jain
Author Profile Icon Ankur Jain
Ankur Jain
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: Exploring the Building Blocks of VB
2. Chapter 1: What, Why, and How (WWH) of Visual Builder FREE CHAPTER 3. Chapter 2: Provisioning and Understanding the Visual Builder Instance 4. Chapter 3: Exploring Visual Builder Ingredients 5. Section 2: Working with Data and Services
6. Chapter 4: Creating and Managing Business Objects 7. Chapter 5: Creating and Managing Service Connections 8. Chapter 6: Building Web Applications Using Real-World Examples 9. Chapter 7: Working with Life Cycle Events, Validations, and UI Logic 10. Section 3: Building Web and Mobile Apps Using Various VB Components
11. Chapter 8: Exploring Other Visual Components and Their Advanced Functionalities 12. Chapter 9: Extending Oracle and Non-Oracle SaaS Applications 13. Chapter 10: Working with Business Processes 14. Chapter 11: Building a Mobile Application with Live Examples 15. Section 4: Security, Recommendations, Best Practices, and Troubleshooting
16. Chapter 12: Securing VB Applications 17. Chapter 13: Understanding and Managing Various Stages of a VB App 18. Chapter 14: Best Practices and Recommendations for VB Applications 19. Chapter 15: Troubleshooting and Debugging VB Applications 20. Chapter 16: Managing VB Apps Using Visual Builder Studio 21. Assessments 22. Other Books You May Enjoy

Working with various UI logic

In this section, we'll see how to implement different logic for UI components, such as logic for hiding/showing UI components, calculating values, enabling a logout feature, and so on.

In this section, we are going to cover the following:

  • Hiding/showing UI components
  • Calculating fields
  • Enabling a logout feature
  • Validating input using a regex

Hiding/showing UI components

It's a very frequent requirement to hide or show UI components when some other UI component is interacted with. For example, you might show a form if the user clicks on a button and hide the form when the user clicks on the button again.

The following are the steps to take to hide/show UI components using JavaScript:

  1. Create a new web page with the main-ui-logics Page ID under the chapter7 web application.
  2. Drag and drop the UI components on the page as per the following table:
    Table 7.2 – A table of UI components

    Table 7.2 – A table of UI components

    Make sure all...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image