[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1010
  • Last Modified:

Making a button unclickable

On my form, I have 2 textboxes where the user enters a first name and a surname, then clicks a button to find matching records.

My question is - I dont want the button to be clickable until both text boxes have been filled. How do I do this?
0
bdb12
Asked:
bdb12
1 Solution
 
Pratima PharandeCommented:
You need to  use the required filed validators or javascript in order to flash the message the both fileds are required. I think this is good approch for this .
0
 
bdb12Author Commented:
yeah I figured I'd have to use js....

The field validators is a great idea.

Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now