I have a table of items in a form. I have code to use the up and down arrow to scroll thru the items. I would like the items to be auto-selected when they enter the field. I tried using this.select() in the OnFocus trigger, but that does not work if I use the up/down arrow to get into the field...
I have a form that has text items in a table. When the user enters the table cell, I want the value to be automatically selected/highlighted (so it is easier to change the value).
Is this possible?
<html>
<form name="post_grdbk"...
I have a field that needs to be checked against a string. If the field value exists in the string it is ok. Why is the code below giving me an error?
<input type="text" name="p_chg_semester" onChange="IsValidSemester(this.value,'~Q1~~Q2~~Q3~~Q4~~RM~~S1~~S2~')"...
I have a form that uses a input text field. When the user enters a value, I need to make it uppercase and add some characters to the begining and end of the field and pass it to a function.
For example: If the users enters "s1" I need to send the value of "/~S1~/" to the...
I have a form that accepts a field(p_chg_semester).
I need to check the value of p_chg_semester to see if it exists in the string (field_string). For example.
If the sample below a value of '*G*' would be one of the valid entries.
field_string = '*A**B**C**D**F**G**H**I**J**K*';
<input...
I have a form that uses a select box (multiple). When the users hits the 'Go' button, I need to make sure that the user selected at least 1 value from the select box. If they did, I need to process my form, otherwise display alert and cancel.
<html>
<head>
<html>
<head>
<title>Student...
I have a form that uses links in a table to execute the submit. The submit calls a procedure that needs to be passed the value of the link. I think I need to use the onSubmit to populate a hiiden input field with the value of the link. How do you set a hidden field the value of the link...
I have a form that accepts a radio field and a select (multiple) box field and processes a function. When the user hits the go, I need to populate some hidden fields (p_hidden_period) based on the values of the radio and select fields. What is the best way to do this? Here is my code:
<html>...
I have a table that has only links as items. When the user hits the link, I want the form to submit and pass the value of the link to the stored procedure. Is this possible?
<HTML>
<FORM name="process_student_schedule2" action="stars3.star_portal.process_student_schedule"...
Here is a sample of my code. The checkbox ('p_drop_class') is the last item in the table. This example only has 1 row, but a real table would have more rows.
<form name="maint_student_schedule" action="stars3.star_portal.process_student_schedule" method="post">...
I have a HTML form that uses a checkboxes in a table. The form calls a stored procedure. When the user checks all the checkboxes the procedure works fine. If not, the procedure does not work because the HTML form is not passing anything for the checkbox. I tried the code below, but it doesn't...
How can I set a value for a checkbox that is not checked?
When it's checked it sends 'on'. I need it to send something (ie. 'off' ) when it's unchecked.
<input type="checkbox" name="p_drop_class">
I have some code that re-sets values in a select box based on what was chosen in a radio group. 2 problems:
1) When I change my radio option, the select box re-sets its values but it jumps from the radio option I selected to the first radio option (try changing from radio 'ADD' to 'DROP' to...
I am trying to trap the enter, down arrow and up arrow keys in my form. I want to set focus to a new field depending on which key is entered. The following code works fine in IE. I need something that works on most browsers (especially Netscape).
<TD align="center" nowrap>
input...
I have a table of text items. When a user enters the field, I would like to display some bubble help next to the appropriate text item. When they leave he field, the help must disappear. Any suggestions?
<TD>
<input type="text" name="p_grd_score" size="5"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.