Syed Kashif Jafari

Syed Kashif Jafari

WordPress Developer | Frontend Developer
Shopify Expert | Ecommerce Solution
Providing Other Digital Solutions
  • Age24 Year
  • LocationAzad Kashmir - Pakistan

How to setup Google Form on blogger

Instructions for setting up orders appear on google spreadsheets and email notifications immediately. This trick is very simple, watch the video..



Code
function guiBieuMau(e) 


{


  // Replace with your email address


  var email = "diachimail@gmail.com";


  // Subject of email sent to


  var subject = "Order at ABCD shop";


  // If you're not familiar, don't touch the code below


  var s = SpreadsheetApp.getActiveSheet();


  var columns = s.getRange(1,1,1,s.getLastColumn()).getValues()[0];


  var message = "";


  for ( var keys in columns ) {


    var key = columns[keys];


    if ( e.namedValues[key] && (e.namedValues[key] != "") ) {




      message += key + ' :: '+ e.namedValues[key] + "\n\n";


    }


  }


  MailApp.sendEmail(email, subject, message);


Comments

HIRE ME