Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle JET for Developers

You're reading from   Oracle JET for Developers Implement client-side JavaScript efficiently for enterprise Oracle applications

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781787284746
Length 282 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Raja Malleswara Rao Malleswara Rao Pattamsetti Raja Malleswara Rao Malleswara Rao Pattamsetti
Author Profile Icon Raja Malleswara Rao Malleswara Rao Pattamsetti
Raja Malleswara Rao Malleswara Rao Pattamsetti
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Oracle JET FREE CHAPTER 2. Oracle Alta UI 3. Tool Integration 4. Knockout JS 5. Oracle JET Components – Form Elements, Controls, and Data Collections 6. OJ Components – Layouts, Navigation, and Visualizations 7. Framework 8. Hybrid Mobile Application Development 9. Testing and Debugging 10. Security and Version Migration

Form controls


Form controls are the components that help us indicate that one or more elements in the page are controlled to edit, read only, or disabled. When the form controls are disabled, you can't enter data into those components, whereas when they are enabled by the control components, you can go ahead and edit the data in the other fields.

The following example demonstrates the three states – Enabled, Disabled, and ReadOnly for the form components:

  • HTML:
        <div id="form-container"> 
          <div>
            <h5>Set State</h5>
            <div class="oj-buttonset-width-auto"
             data-bind="ojComponent: { component: 'ojButtonset',
                                       checked: formState}">
              <label for="enabled">Enabled</label>
              <input type="radio" name="formstate" value="enabled"
               id="enabled" data-bind="ojComponent: { component: 
                                                    ...
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 €18.99/month. Cancel anytime