valt76
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by valt76
-
-
I know it may sound weird and quite out dated but I am trying to work out with ASP 3.0 ( I am a very beginner).
What I am trying to achieve is as follow:
I have an entry page on my web site that select the language;
That leads to a welcome page where I have some text and images that change based on the language selection. (No problem here)
I also have a log in form (email, password) with plenty of CSS in it that should change as well. (BIG problem here!!)
I tried this lines of code but as expected did not work and returned error.
<DIV class="LOGIN"><%language=Request.form("language")languageWhere=""if language="ITA" thenResponse.Write "<FORM ACTION='login_action.asp' METHOD='post'><DIV class='textboxid'><input type='email' id='email' class='large' required='required' placeholder='Enter your email' style='width:300px;'></DIV><DIV class='textboxid'><input type='password' id='textboxid' class='large' required='required' placeholder='Enter your password' style='width:300px;'></DIV><DIV class='cb'><input type='checkbox' id='remember' name='remember'><label for='remember'>remember my email in this computer</label></div><a href='send_password.asp' class='testo'>Ho dimenticato la password</a><DIV><input type='submit' value='ENTER' class='button'></DIV></FORM>"end if%></DIV>Any suggestion or advice (beside giving up programming...)?Thank you in advance for the patience, understanding and kindness!CheersValter
Change language in a form with ASP3.0
in ASP
Posted
Hi
thank you for your reply.
Actually it was my mistake I did not change the wording from English to Italian, yet the problem is that the code do not run.
Lately I have tried the following lines but once again they returned error.