Gossamer Forum
Home : Products : DBMan : Installation :

instead of function links

Quote Reply
instead of function links
Hello everyone,

I've not completed the mod to allow a user to change his/her password on-line (I've promised to share the code when finished)

BUT

I'm now looking for a way to have the Admin, Add, etc <A HREF...> replaced by a button created by the browser as with <INPUT TYPE=SUBMIT...

I can't use <IMG SRC=... combined with <A HREF=... because when the font size is changed by the user through his/her browser menu, a button made with a gif image will not be resized, of course.

Practically I would like to display two similar buttons in the page showing a successful record modified. One to allow the user to modify again his/her record by jumping in the modify_record_form subroutine. And the other one to jump to the DBman main menu. Please what code do you suggest ?

Thanks in advance for any hint and have a good day (or night) !

Cheers,
Germinator


[This message has been edited by Germinator (edited March 05, 1999).]
Quote Reply
Re: instead of function links In reply to
I forget to specify that both IE V4.0 and Netscape Navigator 4.5 are used during the tests ! Thank a lot for any advice...

Quote Reply
Re: instead of function links In reply to
Hi GERMINATOR!

Are you a doctor or something?

To try and answer you question.

Try <form method=post action="url.com/db.cgi?db=default/uid=$db_uid/">
<input type=submit value=add record>
<input type=hidden name=add_form value=1>
</FORM>

Try this for each function. I don't know if it works or not, just aguess.


[This message has been edited by ChrisE (edited March 07, 1999).]
Quote Reply
Re: instead of function links In reply to
Hello ChrisE,

Thank you for your suggestion ! I was finally able to do that with the code below:

print qq|<style>input { font-family: Courier New }</style>
<form action="$db_script_link_url&modify_form=1&userid=$db_userid&ww=on" method="POST">
<input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">
|;

&html_record(&get_record($in{$db_key}));

print qq|<center><tt>
<input type="SUBMIT" value="MODIFY AGAIN">
<input type="RESET" value="RESET FORM"></table>|;

PS: I'm just curious to know what leads you to think I'm a doctor ? I will post my job description after your response Wink

[This message has been edited by Germinator (edited March 07, 1999).]