Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old 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 Sabin_33 is on a distinguished road
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" />&nbsp;<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
Sabin_33 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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
Rep Altering Power: 0 JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough
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...!!
JacobHaug is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 Aaron1988 is on a distinguished road
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.
Aaron1988 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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
Rep Altering Power: 0 JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough
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!!
JacobHaug is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 Aaron1988 is on a distinguished road
Re: EMail Form

Yes i understand Jacob i would agree with you cause everytime when i contact some one through email on a website and say my yahoo or hotmail account is my default email system it will open one of them but then sometimes when i do it opens up outlook express so lol
Aaron1988 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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
Rep Altering Power: 0 JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough
Re: EMail Form

Has Rob contacted you yet Ryan?
JacobHaug is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 Aaron1988 is on a distinguished road
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
Aaron1988 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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
Rep Altering Power: 0 JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough
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!!
JacobHaug is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 Aaron1988 is on a distinguished road
Re: EMail Form

ok Mate so how r u and when will u be next on msn so we can talk
Aaron1988 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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
Rep Altering Power: 0 JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough
Re: EMail Form

We talked already...remember?
JacobHaug is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 Sabin_33 is on a distinguished road
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.
Sabin_33 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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
Rep Altering Power: 0 JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough JacobHaug is a jewel in the rough
Re: EMail Form

Right!!
JacobHaug is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 Sabin_33 is on a distinguished road
Re: EMail Form

How do I capture values/properties from HTML objects?
Sabin_33 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
html form , outlook express


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP email form not sending email Kurt PHP 1 October 12th, 2007 12:26 AM
Form submits to email via php, but email is blank!!?? DH1234 PHP 2 June 18th, 2007 06:42 AM
HELP ME! Email form bruno89 HTML, XHTML and CSS 2 April 25th, 2006 01:42 PM
Form to Email daveycee HTML, XHTML and CSS 3 March 16th, 2006 05:25 PM
php email form djme PHP 3 January 1st, 2006 06:06 PM


Search Engine Optimization by vBSEO 3.2.0 RC8