SunQuest
 
           Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 28th, 2004, 04:52 PM
Farzin Farzin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 Farzin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Online Store problems

before i tell you about my problem i'd like to say that i am a totaly newby and i am sorry if this is the wrong forum but i did not know where else to post it. If its the wrong forum please move it. You guys need to make a forum for newby's like me

hey is anyone using 2checkout.com for their online store to make payments? i need some help. i wanna make a html form and get their info sent to an e-mail and at the same time redirect them to 2checkout.com to pay. Here is a problem , in one of the forms if they select "additional position" they have to pay more on top of the actual fee. the problem is i can only send them to 1 2ckeckout.com page and i dont know if they select any additional positions to send them to a diff 2ckeckout.com page. i know this all sounds very confusing but i hpe you understand it once ytou visit the website.

www.typefilms.com and then go to crews and then sign up.

i hope someone can help me with this problem. i am not an expert and just got started with this whole website stuff. if you could solve my problem or lead me to the right direction it will be very appreciated. thanks in advance.

ANOTHER PROBLEM:

email/script confirmation script
you know how you have to type in your e-mail/password twice and it has to be the exact same thing or the form will not be processed? well i am looking for that script if anyone could help me i would be very greatful. thanks

PS. i already looked through all of the big free script websites. like hot scripts.


bye and thanks again

Farzin

Reply With Quote
  #2  
Old July 28th, 2004, 05:14 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 6
Sorry, but I don't wan't to sign up, but if you can tell us what kind of languages this is programmed in (asp, php etc.) I will be a little bit easier, both how to send an email and serverside validation.

Since I don't know which serverlanguage this is, here is a validation script that check's if the password and the re-entered password is the same. It's a javascript, which means that if somebody have turned off javascript, it won't work.

Code:
<script type="text/javascript">
<!-- Begin
function checkPw(form) {
Password = form.Password.value;
Password2 = form.Password2.value;

if (Password != Password2) {
alert ("\nYour didn't write the same password in both fields. Please re-enter your password.")
return false;
}
else return true;
//  End -->
}</script>
__________________
Strictly CSS | Poker Cognac XO

Reply With Quote
  #3  
Old July 28th, 2004, 06:08 PM
Farzin Farzin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 Farzin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thank you for your reply. i will try that validation script. the script i use to process the form is in php and can be downloaded here and tehre is also a dodumentation about it right on this website http://www.dtheatre.com/scripts/ .

i dont know if you can help me with my first problem but i know its hard to understand what i exactly mean but if you guys would like to sign up just to test it or anything just let me know here so i know it was just a test. its the crew sign up page i am having the problem with. What we do is we charge people who sign up as a crew member 60 bucks. if they would like to have additional positions it'll cost them 10 bucks per position. the problem is here. the way i have ti right now is this, once they submit it it'll take them to a page that says payment www.typefilms.com/crews-payment. there they have to press a button that leads them to 2checkout.com and to our product where they can buy it with their credit card. now i want t eliminate the payment page so its much easier and they will be redirected to the 2checkout.com directly but i cant do that because i dont know if they will pick any additional positions because then it'll cost more. i hope i explained everything correctly. is there a script or could someone write me one where it changes the redirect value of the form if an additional position is filled out? and to a third value if a second additional is filled out?

I tried everything and i really have no clue about all of this and i would be REALLY thankful if any of you guys could help a newby to get his website done and perfect it.

thanks in advance for any replies, help or websites/infos where i could get help.

Reply With Quote
  #4  
Old July 28th, 2004, 06:13 PM
Farzin Farzin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 Farzin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by EiSa
Sorry, but I don't wan't to sign up, but if you can tell us what kind of languages this is programmed in (asp, php etc.) I will be a little bit easier, both how to send an email and serverside validation.

Since I don't know which serverlanguage this is, here is a validation script that check's if the password and the re-entered password is the same. It's a javascript, which means that if somebody have turned off javascript, it won't work.

Code:
<script type="text/javascript">
<!-- Begin
function checkPw(form) {
Password = form.Password.value;
Password2 = form.Password2.value;
 
if (Password != Password2) {
alert ("\nYour didn't write the same password in both fields. Please re-enter your password.")
return false;
}
else return true;
// End -->
}</script>

thanks but could you explain it a lil i am sorry to bug you.

do i have to insert that in the head...../head?

and what do i have to change about it to make it work for me ??

last question, will it work while the form is on my computer and not on the server?

sorry for all the questions again and thanks for your help

Reply With Quote
  #5  
Old July 29th, 2004, 01:56 AM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 6
Implement the script between the <head></head> tag. In this example the password-fields are called Password and Password2. To trigger the function:
<form name="theformname" action="somepage.php" action="post" onsubmit="return checkPw(this)">

or

<input name="submit" type="submit" value="Save" onclick="return checkPw(this)">

The script must be uploaded to the server in the page that you need to run the script in.

Regarding the last question, I don't know PHP, so I'm not able to help you out there. Sorry.

Reply With Quote
  #6  
Old July 29th, 2004, 02:33 PM
Farzin Farzin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 Farzin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by EiSa
Implement the script between the <head></head> tag. In this example the password-fields are called Password and Password2. To trigger the function:
<form name="theformname" action="somepage.php" action="post" onsubmit="return checkPw(this)">

or

<input name="submit" type="submit" value="Save" onclick="return checkPw(this)">

The script must be uploaded to the server in the page that you need to run the script in.

Regarding the last question, I don't know PHP, so I'm not able to help you out there. Sorry.

oh thanks a lot.

does that work with e-mail too???

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > Online Store problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway