Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> replacing a submit with a link in OAS/iAS

replacing a submit with a link in OAS/iAS

From: Matt <zagnimp_at_aom.bt.co.uk>
Date: Fri, 19 Oct 2001 17:13:35 +0100
Message-ID: <3BD0512F.DED0F331@aom.bt.co.uk>


Hi

 Basically I have a table one side contains names  the other col are clickboxes.

 I have a settings (submit) button at the base  and when the user ticks the name the user  then needs to press the submit button to  action the next form for that users details.

 How can I do away with the submit button and the  clickbox and have it so that the user clicks the  link and goes and collects the details for that  users name.

 Any ideas or examples would be fantastic.

 Regards

 Matt

 htp.p(' <form METHOD=post onsubmit="return settings(this)"  ACTION="update_settings.settings" > ');

 for r_settings IN c_settings LOOP
 htp.p(' <tr>');

 htp.p('<td><b><A HREF="update_settings.settings" target=" _new">'  || r_settings.name || '</b></td>');
 IF (r_settings.filter_flag = 1) THEN
 htp.p('<td><center><input type=checkbox checked name=details  value="TypeOn"></center></td> ');
 else
 htp.p('<td><center><input type=checkbox name=details  value="TypeOn"></center></td> ');
 END IF;
 htp.p(' </tr>');

 htp.p('
<input TYPE=hidden name=details value="NULL">
<input TYPE=hidden name=details value="NULL">');

 END LOOP;

 htp.p('</CENTER> ');
 htp.p('</table> ');
 htp.p('<br><center><input type=submit Value="Save
 Changes"></center>'); Received on Fri Oct 19 2001 - 11:13:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US