![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Aug 2005
Posts: 66
Rep Power: 0
![]() |
Form Submit Blues
Hi all! ^_^
I've got two problems with the form I'm working on. 1.) I was having the problem that regardless of what button was pressed inside the form, it submitted the form instead of just doing what it was supposed to do. It would preform whatever action I had set to the onclick but then try and submit. So, to fix this problem I had my form action set to: <form action="javascript:void 1" method="post" name="f"> Which solved the problem of the buttons submitting the form when clicked. However, now I'm really not sure how to call my python script and submit the form data to it. 2.) Even if I have the form as: <form action="MyPythonScript.py" method="post" name="f"> When I submit, it just prints out the raw text of the MyPythonScript.py file instead of actually doing what I want it to do. Can anybody out there help me with these? Thanks a lot! ^_^ |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|