<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Yes. You will need to also in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979544#M25737</link>
    <description>&lt;P&gt;Yes. You will need to also include the &amp;lt;script&amp;gt; tag below in the &amp;lt;head&amp;gt; tag of your index.html to send and receive Cross Origin requests when you submit your contact form data to your server.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;script src="intelxdk.js"&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P&gt;&amp;lt;!--Add the following script after the intelxdk.js script tag--&amp;gt;&lt;/P&gt;

	&lt;P&gt;&amp;lt;script src="xhr.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Sun, 20 Apr 2014 20:48:59 GMT</pubDate>
    <dc:creator>Elroy_A_Intel</dc:creator>
    <dc:date>2014-04-20T20:48:59Z</dc:date>
    <item>
      <title>Contact Form</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979541#M25734</link>
      <description>&lt;P&gt;I would like to create a contact form in my app so that users can send me the feedback or question, anyone have any idea how to do that? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 09:38:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979541#M25734</guid>
      <dc:creator>MooiYee_L_Intel</dc:creator>
      <dc:date>2014-04-14T09:38:19Z</dc:date>
    </item>
    <item>
      <title>When it comes to developing a</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979542#M25735</link>
      <description>&lt;P&gt;When it comes to developing a contact form, you will need to develop both the client side (HTML) and the server side (PHP). The server will be used to interpret the submitted inputs from the user(client).&lt;/P&gt;

&lt;P&gt;The following link provides step by step instructions for creating the client side contact form and also steps for developing the PHP code on the server.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.hongkiat.com/blog/ajax-html5-css3-contact-form-tutorial/"&gt;http://www.hongkiat.com/blog/ajax-html5-css3-contact-form-tutorial/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2014 18:42:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979542#M25735</guid>
      <dc:creator>Elroy_A_Intel</dc:creator>
      <dc:date>2014-04-17T18:42:23Z</dc:date>
    </item>
    <item>
      <title>I am using Intel XDK to</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979543#M25736</link>
      <description>&lt;P&gt;I am using Intel XDK to develop my app, is this work on Intel XDK as well?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2014 08:50:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979543#M25736</guid>
      <dc:creator>MooiYee_L_Intel</dc:creator>
      <dc:date>2014-04-18T08:50:31Z</dc:date>
    </item>
    <item>
      <title>Yes. You will need to also</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979544#M25737</link>
      <description>&lt;P&gt;Yes. You will need to also include the &amp;lt;script&amp;gt; tag below in the &amp;lt;head&amp;gt; tag of your index.html to send and receive Cross Origin requests when you submit your contact form data to your server.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;script src="intelxdk.js"&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

	&lt;P&gt;&amp;lt;!--Add the following script after the intelxdk.js script tag--&amp;gt;&lt;/P&gt;

	&lt;P&gt;&amp;lt;script src="xhr.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sun, 20 Apr 2014 20:48:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979544#M25737</guid>
      <dc:creator>Elroy_A_Intel</dc:creator>
      <dc:date>2014-04-20T20:48:59Z</dc:date>
    </item>
    <item>
      <title>I am new to XDK and not</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979545#M25738</link>
      <description>&lt;P&gt;I am new to XDK and not familiar with php, can you share more details information on how does the whole thing works? Appreciate with your help.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 09:39:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979545#M25738</guid>
      <dc:creator>MooiYee_L_Intel</dc:creator>
      <dc:date>2014-04-23T09:39:48Z</dc:date>
    </item>
    <item>
      <title>php is the commonly used</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979546#M25739</link>
      <description>&lt;P&gt;php is the commonly used programming language on your server for handling data sent/posted from your client application's contact form. &amp;nbsp;You can find step-by-step instructions for writing the php code at&amp;nbsp;&lt;A href="http://www.hongkiat.com/blog/ajax-html5-css3-contact-form-tutorial/" rel="nofollow" style="font-size: 12px; line-height: 18px;"&gt;http://www.hongkiat.com/blog/ajax-html5-css3-contact-form-tutorial/&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 16:41:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979546#M25739</guid>
      <dc:creator>Elroy_A_Intel</dc:creator>
      <dc:date>2014-04-24T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Mooi Yee L, You can use</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979547#M25740</link>
      <description>&lt;P&gt;Mooi Yee L, You can use WebSQL to storage this list.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2014 12:31:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979547#M25740</guid>
      <dc:creator>Moacir_d_</dc:creator>
      <dc:date>2014-10-12T12:31:26Z</dc:date>
    </item>
    <item>
      <title>Yeah you need a web server</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979548#M25741</link>
      <description>&lt;P&gt;Yeah you need a web server with a server side program running to retrieve data. And your HTML application can send the data to that IP address.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2014 05:31:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979548#M25741</guid>
      <dc:creator>Dushan_C_</dc:creator>
      <dc:date>2014-12-06T05:31:33Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979549#M25742</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;It will be very easy if you load an externel form to your app. For an example you can use google forms(which can be created using your google drive),where you can customize which data needs to be collected , what are the requires fields? Etc.&lt;/P&gt;

&lt;P&gt;The responses will be saved on to your google drive as an spreadsheet.&lt;/P&gt;

&lt;P&gt;The only drawback is that you need an active internet connection to use the form.(you can load it using an iframe)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2014 16:38:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979549#M25742</guid>
      <dc:creator>Ramith_H_</dc:creator>
      <dc:date>2014-12-17T16:38:39Z</dc:date>
    </item>
    <item>
      <title>(A solution type Push</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979550#M25743</link>
      <description>&lt;P&gt;(A solution type Push notification).&lt;BR /&gt;
	I am new to android ... and also in Intel XDK environment.&lt;/P&gt;

&lt;P&gt;Gentlemen supporters, kindly guide me on the questions below:&lt;/P&gt;

&lt;P&gt;1-I want to develop an app for android, which from a text box (text area or INPUT), you to inform your contact or a fact&amp;nbsp;&lt;/P&gt;

&lt;P&gt;or even a complaint, this is sent to a specific e-mail, you see? as a kind of FEEDBACK. It could even be sent also to a&amp;nbsp;&lt;/P&gt;

&lt;P&gt;specific whatsapp, but do not know what would be the most interesting, quick and efficient resolution of technical view&amp;nbsp;&lt;/P&gt;

&lt;P&gt;point.&lt;/P&gt;

&lt;P&gt;2-I have researched a lot about cord-plugins-email-compose, that is, within the Intel XDK environment; I did several&amp;nbsp;&lt;/P&gt;

&lt;P&gt;tests and examples collected from the internet, but do not work. On the other hand, outshines in my view the issue of e-&lt;/P&gt;

&lt;P&gt;mail, domain on android, do not know how this. For I see several apps, same with many such resources, forms, sending&amp;nbsp;&lt;/P&gt;

&lt;P&gt;data, etc. But I'm having a hard time understanding these things.&lt;/P&gt;

&lt;P&gt;3-In a web environment this is all understandable to me. Many years ago, I got to do a few simple things in PHP and Mysql&amp;nbsp;&lt;/P&gt;

&lt;P&gt;... as the situation I described above ... made a page in HTML, logging suggestions and invoking a script on the server&amp;nbsp;&lt;/P&gt;

&lt;P&gt;side PHP that I sent these records to a specific email. I stayed this page in cloud, remember that the (localweb) and&amp;nbsp;&lt;/P&gt;

&lt;P&gt;localweb server had the resources to support PHP, Mysql. To host this page on the server, I had to create a domain in&amp;nbsp;&lt;/P&gt;

&lt;P&gt;registro.BR and the service to send form data to an e-mail functioned normally. So I wanted to take this same solution&amp;nbsp;&lt;/P&gt;

&lt;P&gt;... the same idea ... ie the web server environment for smartphones environment, android. You see? Finally, develop a&amp;nbsp;&lt;/P&gt;

&lt;P&gt;simple app that the user could file a claim (form - text area, or INPUT button) and this was sent to a specific e-mail or&amp;nbsp;&lt;/P&gt;

&lt;P&gt;even a whatsapp. A solution type Push notification.&lt;/P&gt;

&lt;P&gt;questions:&lt;/P&gt;

&lt;P&gt;1) I have almost given up the cord-plugins-email-compose, however, you can guide me more about this plugin and how to set&amp;nbsp;&lt;/P&gt;

&lt;P&gt;up properly?&lt;BR /&gt;
	2-Where sets my account email in-cord plug-email-compose?&lt;BR /&gt;
	3) Can I send data from a form (text area) to integrate Intel XDK with PHP? (Ie, because in PHP, I know how to send e-&lt;/P&gt;

&lt;P&gt;mail)&lt;BR /&gt;
	3) To host app, which server would indicate me?&lt;BR /&gt;
	4) Are there any free or paid server to send the APK and test, ie I could download and test the App on my phone?&lt;BR /&gt;
	5) To host my APP APK or on free or paid server, I would have to necessarily create have a domain? email account? SMTP?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;e-mail server?&lt;BR /&gt;
	6) Can demontrar me or send me an APP / APK to record a message, or text, or subject (text area or INPUT button) and&amp;nbsp;&lt;/P&gt;

&lt;P&gt;internally APP feature to send this message to an e-mail?&lt;BR /&gt;
	7) I enjoyed the Intel XDK environment, but I would indicate another similar tool, given the complexity of dealing with&amp;nbsp;&lt;/P&gt;

&lt;P&gt;e-mail?&lt;/P&gt;

&lt;P&gt;Thanks for the clarification.&lt;BR /&gt;
	Thank you.&lt;BR /&gt;
	Jorge F.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 16:43:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979550#M25743</guid>
      <dc:creator>Jorge_F_1</dc:creator>
      <dc:date>2016-06-11T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Hi Jorge,</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979551#M25744</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi Jorge,&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;As you seem more experiencied with html forms and php I'll tell you how to pass your input values from an XDK app to a php script. This is the answer to your question number 3. In this example, I pass two fields, Name and Note, and may use php to send a mail.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;1. Drop two input fields and one button in your XDK page.&lt;/P&gt;

&lt;P&gt;2. Fill the inputs ID value, &lt;EM&gt;name&lt;/EM&gt; for the first, &lt;EM&gt;note&lt;/EM&gt; the second.&lt;/P&gt;

&lt;P&gt;3. Select the button and at the left panel, INTERACTIVITY section, drop down Action option and choose Custom Script. Press Edit Script button.&lt;/P&gt;

&lt;P&gt;4. You will go to edit the button's click event at index_user_scripts.js file, this is the code:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;   $(document).on("click", ".uib_w_7", function(evt)
    {
        /* your code goes here */ 

		//these two lines take the values from inputs using jquery
		var input1 = $("#name").val();
		var input2 = $("#note").val();
		
		//jquery ajax to send values to php using POST
		$.ajax({
			type: 'POST',
			url: 'http://www.yourserver.com/send_mail.php',
			data: {
				name: input1,
				note: input2
			},
			success: function (response) {
				//you may show some data from php using echo
				alert(response);
			}
		});		
		
         return false;
    });&lt;/PRE&gt;

&lt;P&gt;5. This is send_mail.php, and how to use the values, probably you already know it.&lt;/P&gt;

&lt;PRE class="brush:php;"&gt;&amp;lt;?php
//place here the php code to send the mail using the values in $_POST['name'] and $_POST['note']

//you may send some data back to the XDK app and will be received in the response value
echo "Thanks for your comment " . $_POST['name'];
?&amp;gt;&lt;/PRE&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Diego&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 22:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979551#M25744</guid>
      <dc:creator>Diego_Calp</dc:creator>
      <dc:date>2016-06-11T22:34:40Z</dc:date>
    </item>
    <item>
      <title>Thanks Calp Diego. Your</title>
      <link>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979552#M25745</link>
      <description>&lt;P&gt;Thanks Calp Diego. Your solution works perfectly.&lt;/P&gt;

&lt;P&gt;I implemented mine as below;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt; /* button  #send_email */
    $(document).on("click", "#send_email", function(evt)
    {
        /* your code goes here */
        var name = document.getElementById("name").value;
        var email_add = document.getElementById("email_add").value;
        var message = document.getElementById("message").value;
        //jquery ajax to send values to php using POST
         $.ajax({
            type: 'POST',
            url: 'http://www.my_domain.com/test/send_mail.php', //domain url
            data: {
            name: name,
            email_add: email_add,
            message: message
            },
            success: function (response) {
            alert(response);
            }
        }); 
        return false;
    });&lt;/PRE&gt;

&lt;P&gt;and my php file is as below&lt;/P&gt;

&lt;PRE class="brush:php;"&gt;$subject = 'Test Email from App';
$to = 'email_address@domain.com';
	$name = $_POST['name'];
	$email_add = $_POST['email_add'];
	$message = $_POST['message'];
	$headers = "From: " . $email_add . "\r\n";
	$headers .= "Content-type: text/html\r\n";
	$body = 'Full Name : ' .  $name . '&amp;lt;br/&amp;gt;Email     : ' . $email_add . '&amp;lt;br/&amp;gt;Message &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;' . $message;
	$success = mail($to, $subject, $body, $headers);
	echo "Thank you $name, your message has been submitted, we will get back to you shortly";&lt;/PRE&gt;

&lt;P&gt;The solution works perfectly and I get an email almost instantly. In a few seconds, the app sends a response on the app screen as below&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot.JPG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/6923i1235ADDA54CF749A/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="screenshot.JPG" alt="screenshot.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 14:01:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Contact-Form/m-p/979552#M25745</guid>
      <dc:creator>Charles_M_1</dc:creator>
      <dc:date>2016-12-15T14:01:27Z</dc:date>
    </item>
  </channel>
</rss>

