Loading...

As a beginner, HTML is a very easy and friendly language to work upon.

Creating a form is to get input from User. You may need the following type of fields to get data from the user –

  • Short input text.
  • Big text area to add multiple lines of text.
  • Choice (drop- down) or radio button.
  • Calendar.
  • People picker

The library which needs to be added in the code are-

  • JS cdn – For the functionality
  • Bootstrap cdn – To make the UI more appealing and use bootstrap classes.
<div class="row">
                    <div class="col-sm-2">
                        <label class="control-label">Idea Owner<span class="required">*</span></label>
                    </div>

                    <div class="col-sm-4">
                        <div class="form-control" id="ppIdeaOwner"></div>
                        <!-- <label class="viewForm" id="viewppIdeaOwner" style="display: none;"></label>  -->
                    </div>
                    <div class="col-sm-2">
                        <label class="control-label">Category<span class="required">*</span></label>
                    </div>

                    <div class="col-sm-4">
                        <select id="ddlCategory" class="form-control">
                            <option value="0">--SELECT--</option>
                            <option value="Automation">Automation</option>
                            <option value="Cost Savings">Cost Savings</option>
                        </select>
                        <label id="viewddlCategory" style="display: none;"></label>
                    </div>

                </div>

Leave a Reply

Your email address will not be published. Required fields are marked *

Close
Main Navigation
Secondary Navigation