I know extremly little about java script but I think this may be the way to go. Forgive me if this is too lame a question or too hard a question because like I said I have no clue.
I have a form that sends data to a filemaker database. I have another form that send the info to an ASP script that sends out an email. I would like to combine the actions into one form so it will send the info both to the filemaker database and also send an email. I've seen a couple of java examples that kind of do this but they have two buttons and that won't work for what I need. I assumed that you could just combine the actions but when I try only one or the other will work. Below is the example of the two I want to combine.
Hi, According to my experiences in my projects, that should be 2 buttons to handle that separately. But if you want users to just click one button to do both actions, I think you should handle that in server side.
I ussually using a servlet to handle that. After that servlet receives a request, that servlet will execute both actions before that servlet returns HTTP Response.
Correct me if I am wrong to understand your question
Thanks very much for your responses I was hoping to combine the two forms somehow with java script but I'm not really familiar with hodw to do it. I think you're right it needs to be a server side thing that handles the flow of being sent to an email and into a database. Our Filemaker used to do that and then SMTP on that box was turned off so I was using an ASP script on another box and hoping to combine the actions of the two since one I have SMTP access on one and the other I have a database. Getting a bit complicated!