Is it possible to link to AwareIM's SAVE operation

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Is it possible to link to AwareIM's SAVE operation

Post by tford »

Support,

Appendix D list links to various Aware operations.

I would like to be able to use an HTML cell in a form to present a button that will link to the SAVE operation. Is there syntax that you can provide for that link?

What I'm trying to do is gain more control over buttons on one particular form. If I can link to the SAVE operation in an HTML cell, I will turn off the standard buttons on this particular form & only display my custom SAVE button, thereby eliminating the BACK button.

Thanks,
Tom
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

You don't need a link - you can try simulating the Save button. You can do it like this:

<input type='image' src='....' name='btnSave' id='btnSave' >
Aware IM Support Team
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Wow -- this is great stuff!!

I'm having one problem though as shown in #2 below.

1- The button appears properly triggered by a dynamic rule.

a- Before dynamic rule fires:
Image

b- After dynamic rule fires:
Image


If I simply click the REFRESH button, it works fine. But if I hover over the button with the mouse, then move the mouse elsewhere without clicking the button, this happens:
Image

Any ideas?

Thanks,
Tom
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Solved.

I had named my button: btnRefresh3.gif by saving the button that AwareIm created. Per the suggestion of pbrad, I copied btnRefresh3.gif to btnRefresh1.gif and btnRefresh2.gif and put them in the same directory.

Tom
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Support,

Actually not 100% solved. IE works fine, but Firefox & Safari still do not behave as expected.

Suggestions?
Tom
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Now solved for all browsers.

My mistake was in using btnRefresh3.gif in my html cell. Here is what I finally did:

1- copied 2 files from AwareIM button files: btnSearch1.gif btnSearch3.gif

2- used btnSearch1.gif in my HTML

3- it appears AwareIM uses ...3 automatically for mouseover.

Tom
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Now solved for all browsers.

My mistake was in using btnRefresh3.gif in my html cell. Here is what I finally did:

1- copied 2 files from AwareIM button files: btnSearch1.gif btnSearch3.gif

2- used btnSearch1.gif in my HTML

3- it appears AwareIM uses ...3 automatically for mouseover.

Tom
ACDC
Posts: 1143
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Post by ACDC »

Hi Tom

This looks very interesting.

Would one be able to place a button on a form to lets say replace the search button in a search query.

I am interested in disabling both the Search and Cancel Buttons on a search form (by unchecking Buttons) and then creating something like this. I want to do this purely from a layout perspective, and also possibly run a process from a button on a form would also really be good.

Any Ideas or thoughts would be appreciated

Thank you
ACDC
Post Reply