hello everyone, I have three fields namely - sno, sname and class.
sno and sname are the text fields where as class is a list box with values from 1 to 10.
i have four buttons below these three fields.They are Add, Modify, Update and Remove.
there is a text area below these four buttons.
when i enter data into those three fields and click add, all the data will be displayed in the text area.when i select data from that text area and click modify the data will be populated from the textarea into the corresponding fields.when i click update, the data from those fields will be vanished and the fields will be empty.
now i need to write a validation so that these fields are not blank and display an alert whenever i click add or update buttons.