Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » Validate text boxes
Validate text boxes [message #188876] Tue, 22 August 2006 04:32 Go to next message
yashora
Messages: 39
Registered: August 2006
Member
Hi,

I am new to oracle html db. I have 2 text items like
username (p1_username) password (p1_password) and a submit button. when i click on submit button, those two text boxes must be validated like " they should not be null" or the usernames and passwords must match with my user_master's data. How can be done. Please help me out.

Regs
Yashora
Re: Validate text boxes [message #189492 is a reply to message #188876] Thu, 24 August 2006 17:54 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
The easiest was is to just "print" some javascript as part of the HTML form to check the fields - or do server side validation (in pl/sql) and print a refreshed page with the originally entered fields and mark them on the screen with messages. Search the Net for sample javascript to do the job.

No sure what you mean they must match your "master data"
Previous Topic: Timing out when a large query is submitted
Next Topic: Different behaviour
Goto Forum:
  


Current Time: Tue Dec 10 03:23:00 CST 2024