WordPress.org

Forums

WordPress Contact Forms by Cimatti
Custom Field: Number (1 post)

  1. bhattigurjot
    Member
    Posted 1 year ago #

    I want to add a custom field that takes the input just number.
    Actually this input is to be used as an input for roll_number of student.

    And also how to make it a "required" field?

    Currently, what I have so far:
    Roll No.<input type="number" name="roll_no" required min="0">

    But that's not working as it should. If I press submit button without filling the fields, all fields are highlighted in red except this custom one. How this must be done?

    http://wordpress.org/plugins/contact-forms/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Contact Forms by Cimatti
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic