Jump to content

This topic is 8124 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have made a form for editing a record using the standard approach. On the web page i see a button (edit) which does the work (when i click the record is updated).

Now instead of the button i want to use a graphic object (which is a file, forexample calculate.gif).

I have been playing around with href commands but this did not work.

Could anyone show me how to get my graphics object have the same functionality as the edit button in the edot foorm of filemaker.

Thanks

Jitse

Posted

instead of the button i want to use a graphic object (which is a file, forexample calculate.gif).

<input type="image" src="calculate.gif" name="-edit">

or possibly

<input type="image" src="calculate.gif" border="0" name="-edit">

Posted

Try this:

<form name="myform" action="FMPro" method="post">

.

.

<input type="hidden" name="-edit">

</form>

<a href="#" onclick="document.myform.submit();"><image src="calculate.gif" border="0"></a>

All the best.

Garry

Posted

Well actually i have made a stand alone expert systems. I have created a number of buttons using the standard buttons file of filemaker (buttons and dialogs). I have put scripts attached to these buttons

Now i want to have a client server application of the expertsystems with (nearly) the same GUI (i am not using scripts anymore though).

So now i have a nice gif file of a button and want to attach "edit record" form command to it. Having build a number of calculation field this would have the samne effect as the stand alone version with the script.

Jitse

Posted

This is the simple code that did the job <INPUT TYPE="image" src="calcbutton.gif" NAME="-Edit">

It took me a while to get it working because i am still using claris homepage.

Somehow the code got scrambled. I now switched to BBEdit, now i can go on.

Thanks ! ooo.gif

This topic is 8124 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.