Forum: JavaScript / DHTML / AJAX Nov 12th, 2006 |
| Replies: 5 Views: 2,121 The problem is i cant change the following code as i'm using it for having multiple submit buttons on one form. Please advice on how i can run the validation script based on this. Thank you..
... |
Forum: JavaScript / DHTML / AJAX Oct 27th, 2006 |
| Replies: 5 Views: 2,121 I'm trying to validate some fields in my form but can't get it to work. I think it's because of the submit button code. Could someone please help identify the problem?
<script... |
Forum: JSP Oct 25th, 2006 |
| Replies: 3 Views: 11,082 Hi i'm a newbie trying to learn something. I downloaded ireport and have designed my report. It connects to the database and retrives the value with no problems. When i build the report i'm able to... |
Forum: JSP Oct 19th, 2006 |
| Replies: 7 Views: 4,927 I think my logic of the problem is wrong. I'm still learning and need all the help i can. This what I’m trying to achieve. I have 6 levels. Primary1-Primary6. Each level takes 4 different subjects.... |
Forum: JSP Oct 19th, 2006 |
| Replies: 7 Views: 4,927 I'm sorry but it does not work. The value is still taken as the last value and updated to all fields. Also now the strings are joined together... |
Forum: JSP Oct 19th, 2006 |
| Replies: 7 Views: 4,927 When i move the update out of the loop i get the following errors.
Undefined variable: ca1
Undefined variable: sa1
Undefined variable: ca2
Undefined variable: sa2
String ca1date =... |
Forum: JSP Oct 19th, 2006 |
| Replies: 7 Views: 4,927 Anyone able to help....
Greatly appreciated. |
Forum: JSP Oct 18th, 2006 |
| Replies: 7 Views: 4,927 I tried this its also not working. What i plan to acheive is that all fields that match the value of subject must be updated. The value of subject is taken from a drop down box. This portion works.... |
Forum: JSP Oct 18th, 2006 |
| Replies: 6 Views: 4,356 Got it working. This the code.
rst2 = stm1.executeQuery("select * from students");
String Childic = "";
for(int i = 0; rst2.next(); i++){
if(request.getParameter("ca1_"+i) !=null){
... |
Forum: JSP Oct 18th, 2006 |
| Replies: 6 Views: 4,356 Thank you for your help. But there seems to be a problem. It saves to database as
Right now it saves as
A - 1st record
AB - 2nd record
ABC - 3rd record
I want it to be
A B C - 1st record |
Forum: JSP Oct 18th, 2006 |
| Replies: 7 Views: 4,927 I'm trying to cycle through a series of dynamic fields and update the value to the database. But the value of the last field is the one retrived and updated to all fields in the loop. How do i solve... |
Forum: JSP Oct 18th, 2006 |
| Replies: 6 Views: 4,356 Thank you it worked. Now i have another problem. Lets say i want to save all the information as a single string in the database instead of it going into another row. Here is my code. I'm using... |
Forum: JSP Oct 18th, 2006 |
| Replies: 6 Views: 4,356 :sad::sad::sad:
This is what i've tried.
for(int i = 0; rst2.next(); i++){
String ca1 = request.getParameter("ca1_<%=i%>");
String query2 = "INSERT into results(ca1) values ('"+ca1+"')";... |
Forum: JavaScript / DHTML / AJAX Oct 17th, 2006 |
| Replies: 0 Views: 1,692 I need to come up with a leave application script. For example i have 21days of annual leave. The actual amount will be taken from a database. If i select today from the drop down box and one week... |
Forum: JSP Oct 17th, 2006 |
| Replies: 6 Views: 4,356 I'm trying to create a list to record student grades into the database. I'm able to pull out the names from the database and create a table with textfields in it to input the data into.
This is... |