473,394 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Bable fish translation. form goes empty

106 100+
Hi

I am using Bable fish for translating my site from english to greek. Every thing goes ok. but when I press submit button on any page to post data to server the form goes empty. I don't know what to do. I need some help.

Thanks.
Nov 30 '07 #1
4 2211
stepterr
157 100+
Hi

I am using Bable fish for translating my site from english to greek. Every thing goes ok. but when I press submit button on any page to post data to server the form goes empty. I don't know what to do. I need some help.

Thanks.

Is the translation portion working and when the submit button is clicked is it actually capturing the information? If it is doing all of that then I would look to see if you are reloading the page and that's why it's clearing the form.
Dec 1 '07 #2
Hamayun Khan
106 100+
Thanks for reply

let i explan.

I have login.php page. In the login.php page I have the following form.


<html><body>
<form name="frmadmin" method="post" action="login.php" onSubmit="return validate(this)">

USER ID : <input name="username" id="username" type="text" size="14" class="textbox">

PASSWORD: <input name="password" type="password" size="14" class="textbox">

<input type="submit" value="Submit" name="B1" class="submit1">

</form>
</body></html>

In the above form see the action parameter of form tag. It is set to login.php page. which is in the same folder. When I Load the above frmlogin.php page and view the source. the action is changed to



<form name=loginForm action=http://babelfish.altavista.com/babelfish/trurl_pagecontent
method=post>
<input type=hidden name="lp" value="en_el">
<input type=hidden name="trurl" value="valid url. eg http://www.yahoo.com/login.php">

USER ID : <input name="username" id="username" type="text" size="14" class="textbox">

PASSWORD: <input name="password" type="password" size="14" class="textbox">

<input type="submit" value="Submit" name="B1" class="submit1">

</form>
Dec 3 '07 #3
Hamayun Khan
106 100+
I m looking for some help
Dec 7 '07 #4
code green
1,726 Expert 1GB
I m looking for some help
Well you didn't exactly answer any of stepterr 's questions.
Instead you posted HTML code (without tags) along with an explanation that doesn't add up.
So the first form posts to itself
[HTML]I have login.php page. In the login.php page I have the following form.
<form name="frmadmin" method="post" action="login.php" onSubmit="return.."> [/HTML]
When I Load the above frmlogin.php page and view the source. the action is changed to
Where is frmlogin.php?
What do you mean the action is changed to?
Does altavista allow the following?
[HTML]<form name=loginForm action=http://babelfish.altavista.com/babelfish/trurl_pagecontent
method=post>
<input type=hidden name="lp" value="en_el">
<input type=hidden name="trurl" value="valid url. eg http://www.yahoo.com/login.php">[/HTML]It is interesting what you are trying to do, but I didn't know you can post a form to altavista,
Dec 7 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Stephanie | last post by:
I tried to create an email/contact form but i'am stuck. (i'am a php-newbie) Let me explain (sorry for my bad english, it's not my native language) I have a form with the required fields and the...
7
by: Steven T. Hatton | last post by:
Is there anything that gives a good description of how source code is converted into a translation unit, then object code, and then linked. I'm particularly interested in understanding why putting...
2
by: Julia Baresch | last post by:
Hi everyone, As some of you may know, we've been having trouble with an unrecognized database format error. Today I installed an unfinished project on the workstation of one of my users. ...
4
by: Chris Croughton | last post by:
Does a translation unit have to have at least one externally visible declaration or function definition to be valid? As I read the standard, it doesn't: it must have at least one declaration or...
9
by: tiger79 | last post by:
Hi, I've been translating some API's from VB to C# for a couple of days now. Only I'm a real newbie to both languages, but I managed to do most of it except the next statements, so if anyone knows...
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
8
by: alice | last post by:
I found this code for making a php email form for a web site. It works fine on my ISP, but not on my friends...could it be that my ISP uses php5, I know that hers does not, so I assume it's php4....
1
by: G04 | last post by:
Hi All, I have a continuous form with all records. For each field there is a combo in the form header and the form also contains a Toggle button "Apply Filter". When clicked, it changes to...
7
beacon
by: beacon | last post by:
Hi everybody, This may be an easy one, but I'm having a lot of trouble with it. I have a continuous form and I want to validate that the user has entered something in each of the required fields...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.