|
|
 |
December 1st, 2006, 11:21 AM
|
#1
|
|
New Member
Join Date: May 2006
Location: A Place Far Away
Age: 27
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
EMail Form
Hello all,
I'm looking for some help understanding validations.
This is my Code:
Code:
<form id="MyEmail" runat="server">
<div>
<br />
<input id="Accept" style="width: 176px" type="radio" name="Action" title="Decline" onclick="return Accept_onclick()"/><br />
<input id="Decline" style="width: 176px" type="radio" name="Action" checked="CHECKED" onclick="return Decline_onclick()"/><br />
<br />
<input id="Text1" style="width: 288px; height: 112px" type="text" /> <br />
<br />
<input id="Submit1" type="submit" value="submit" onclick="return Submit1_onclick()" /></div>
</form>
First I'm trying to figure out how to capture properties of an object with javascript. SO I can say something like this
Code:
If Decline == True
{ If (text1 == null || text1 == "")
//Error
Else
//Good
}
Secondly I'm sending this as an HTML e-mail. And After client hits the submit button I want to open an outlook express e-mail. Like a Mail-To Link.
Thanks
|
|
|
December 1st, 2006, 06:30 PM
|
#2
|
|
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,850
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: EMail Form
Ahhhhhh, I hate it when websites open the default mail client....you should avoid that, just go ahead and write some PHP that sends it as well...!!
|
|
|
December 2nd, 2006, 03:32 AM
|
#3
|
|
Reputable Member
Join Date: Jul 2006
Location: Gillingham
Age: 22
Posts: 465
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: EMail Form
if its for only your clients it would be ok but i wouldnt recommend it same as Jacob said PHP lol cause if your using clients your default e-mail account setup usually Outlook but if was not for clients then you would use PHP or something to get the right functions.
|
|
|
December 2nd, 2006, 05:04 PM
|
#4
|
|
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,850
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: EMail Form
In my opinion it does not matter wither it is your clients or not. They might not be using a default mail client, they might be using MSN/hotmail, or yahoo, which are web based. So opening the default mail client is just not an option, just write a PHP script that sends it as well, if you want a preview option, you can write that in as well. If you would like to see an example I can show you one!!
|
|
|
December 2nd, 2006, 07:14 PM
|
#5
|
|
Reputable Member
Join Date: Jul 2006
Location: Gillingham
Age: 22
Posts: 465
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: EMail Form
|
|
|
December 2nd, 2006, 07:25 PM
|
#6
|
|
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,850
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: EMail Form
Has Rob contacted you yet Ryan?
|
|
|
December 3rd, 2006, 03:58 AM
|
#7
|
|
Reputable Member
Join Date: Jul 2006
Location: Gillingham
Age: 22
Posts: 465
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: EMail Form
he hasn't contacted me yet lol bout moderator he contacted me once and i agreed to what he said but haven't heard nothing since
Thanx
Aaron
|
|
|
December 3rd, 2006, 04:02 AM
|
#8
|
|
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,850
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: EMail Form
Ok, well I just sent him a PM about that topic. So don't ask him about it till I hear back from him!!
|
|
|
December 3rd, 2006, 04:04 AM
|
#9
|
|
Reputable Member
Join Date: Jul 2006
Location: Gillingham
Age: 22
Posts: 465
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: EMail Form
ok Mate so how r u and when will u be next on msn so we can talk
|
|
|
December 4th, 2006, 09:15 AM
|
#10
|
|
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,850
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: EMail Form
We talked already...remember?
|
|
|
December 4th, 2006, 10:59 AM
|
#11
|
|
New Member
Join Date: May 2006
Location: A Place Far Away
Age: 27
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: EMail Form
Alright, but I can do this in an e-mail right?
As long as I have a little form that has either - accept or decline and can send back an e-mail I would like that.
|
|
|
December 4th, 2006, 11:05 AM
|
#12
|
|
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,850
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: EMail Form
Right!!
|
|
|
December 4th, 2006, 12:20 PM
|
#13
|
|
New Member
Join Date: May 2006
Location: A Place Far Away
Age: 27
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: EMail Form
How do I capture values/properties from HTML objects?
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|