Find Jobs
Hire Freelancers

I would like to hire a Javascript Developer

£10-20 GBP

Đã hoàn thành
Đã đăng vào gần 7 năm trước

£10-20 GBP

Thanh toán khi bàn giao
We are a small professional football club who are sending reports to some young players through a google form. We have a script and associated files previously developed, but are having problems with a line of code, and would really appreciate some understanding of where we're going wrong and some assistance in sorting it. Here's the code: function sendEmail(row) { var docTemplate = "1dtjuvjAatZyLyejjU4J113p_eC38eD8yrr4vCjTxNxY"; var docName = "RegionalDevelopmentCentreEndOfSeasonReport"; var FIRST_NAME = 1; var PLAYER_EMAIL = 3; var COACH_FULL_NAME = 4; var INDEX = 0; var KEY = 1; // This list matches a particular placeholder in the Google Doc with // the column that placeholder's value appears in in the spreadsheet, // where Col A = 0, Col B = 1, etc.. var formKeys = [[1,"keyPlayerFirstName"], [2,"keyPlayerSurname"], [4,"keyCoachFullName"], [6,"keyDestroyer1"], [7,"keyDestroyer2"], [8,"keyDestroyer3"], [9,"keyCreator1"], [10,"keyCreator2"], [11,"keyCreator3"], [12,"keyGoal1"], [13,"keyGoal2"] [14,"keyGoal3"], [15,"keyPsychology"], [5,"keyDevCentre"]]; var splitFields = ["keyDestroyer1", "keyCreator1", "keyGoal1"]; var source = [login to view URL](docTemplate); var newFile = [login to view URL]("Mid-Season Review"); var copyId = [login to view URL](); var copyDoc = [login to view URL](copyId); var copyBody = [login to view URL](); for(var i=0; i<[login to view URL]; i++) { isSplitField = false; for(var j=0; j<[login to view URL]; j++) { if(formKeys[i][KEY] == splitFields[j]) { isSplitField = true; key = formKeys[i][KEY]; values = row[formKeys[i][INDEX]].split(', '); [login to view URL]([login to view URL]("A"), values[0]); [login to view URL]([login to view URL]("B"), values[1]); break; } } if(!isSplitField) { [login to view URL](formKeys[i][KEY], row[formKeys[i][INDEX]]); } } [login to view URL](); var pdf = [login to view URL](copyId).getAs("application/pdf"); var subject = "RDC End Of Season Report 2016/17"; var body = "Dear " + row[FIRST_NAME] + ",_LB_"; body += "_LB_Congratulations on being offered a place within the Regional Development Centre Programme for next season. You should be immensely proud of your achievement._LB_"; body += "_LB_Please find attached your report, which has been completed by your Regional Development Centre coaches._LB_"; body += "_LB_Use this report to focus your efforts during the off season, and push yourself to develop and improve your performance ahead of the 2017/18 campaign._LB_"; body += "_LB_Well done! Keep up the good work._LB_"; body += "_LB_Kind Regards,_LB_"; body += "_LB_Jonny Martin_LB_"; body += "Football Development Manager_LB_"; body += "Cambs Glass Stadium | Newmarket Road | Cambridge | CB5 8LN_LB_"; body += "T 01223 566500 | E [login to view URL]@[login to view URL] | @ @CUCoachJonny"; // Replace text with \n for plain text var plainTextContent = [login to view URL]('_LB_').join('\n'); // Replace text with <br /> for HTML var htmlContent = [login to view URL]('_LB_').join('<br />'); //[login to view URL]({to: [login to view URL][PLAYER_EMAIL], subject: subject, body: plainTextContent, htmlBody: htmlContent, attachments: pdf}); try { [login to view URL]({ to: row[PLAYER_EMAIL], subject: subject, body: plainTextContent, htmlBody: htmlContent, attachments: pdf }); response = "sent"; } catch(error) { response = [login to view URL](); } [login to view URL](copyId).setTrashed(true); return response }
Mã dự án: 14681705

Về dự án

9 đề xuất
Dự án từ xa
Hoạt động 7 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
Hello. I can help you with sendEmail function. Relevant Skills and Experience I am good at PHP, JavaScript, HTML and CSS. Proposed Milestones £50 GBP - Done.
£50 GBP trong 0 ngày
4,9 (159 nhận xét)
6,5
6,5
9 freelancer chào giá trung bình £22 GBP cho công việc này
Avatar người dùng
Hello, My name is Josh, I am a software developer with over 10 years of experience in building software solution from concept to finished product. My expertise includes android and iOS mobile app development, website development using Drupal, Wordpress and Django content management system. I offer services in the following areas of specialisations :- — Android and IOS Mobile App developments — Mobile App UI and UX design -- Drupal Website development — Django Website development -- Wordpress site development — Software Development — Responsive website development -- Migration of drupal 7 to drupal 8 -- Migration of wordpress website from host server to another server. -- Conversion of website to android mobile app -- Upgrade Wordpress to latest version -- Upgrade and update Drupal site to latest version -- Search engine optimisation — Corporate logo and branding -- install additional plugins :e.g. SEO by Yoast, All in One SEO pack that is able automate most of SEO work automatically on Wordpress sites. I can guarantee high quality work and project delivery, quick response to your messages (during work hours). I am 100% confident that I can meet and exceed your requirement. I can accomplish this job on time and on budget and to specification. Please feel free to contact me for any questions. I look forward to working with you on this project. Thanks for the opportunity. Josh (UK Time: 09:00 – 18:00)
£20 GBP trong 7 ngày
5,0 (3 nhận xét)
1,2
1,2
Avatar người dùng
Hello Sir/Madam, I am available to start work on this project I have 8 years of experience in Development / Designing / SEO / SMO Waiting to hear from your end With best regards, Richardsan.
£15 GBP trong 2 ngày
5,0 (2 nhận xét)
0,9
0,9

Về khách hàng

Cờ của UNITED KINGDOM
Saffron Walden, United Kingdom
5,0
1
Phương thức thanh toán đã xác thực
Thành viên từ thg 7 17, 2017

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.