Käynnissä

Modify simple PHP code

I need to modify the following code function to change the promotional code. At line 265 it is looking for a specific value "PROMOCODE" to apply a $200 discount. I want to change that to allow any 5 digit numerical code - "57369", "12345", "11024", etc. As long as it is exactly 5 characters and only numbers.

--------------------------------------------------------------------------------------------

if([url removed, login to view] == "PROMOCODE") {

mytotal = parseInt([url removed, login to view]);

[url removed, login to view] = mytotal-200;

[url removed, login to view] = formatCurrency(document.signup.hiddentotal.value-0);

--------------------------------------------------------------------------------------------

Taidot: Javascript

Näytä lisää: simple javascript validation example code php, seo simple code php, simple design code php, custom php code cms simple, source code php login page cms made simple site, simple web crawler script code php, simple php add modify form, php simple online movie store code, php simple ip zip code, modify code php, simple bar code php script, google simple checkout sample code php, php code create simple login page, php simple security code, php simple referral script code, news script code php simple, php code form inser modify delete

About the Employer:
( 623 reviews ) Fort Collins, United States

Projektin tunnus: #13149990

Myönnetty käyttäjälle:

webstopindia

Sir, I am in desperate need of work. I am quoting the lowest possible rate. Will start right now. Pay me once done.

10 $ USD 0 päivässä
(19 arvostelua)
4.0

25 freelanceria on tarjonnut keskimäärin 45 $ tähän työhön

sunsoftpro

First, I am sunsoftpro, I from VietNam. Nice to meet you! I have read your description and been interested in your project. I'm ready to discuss and do hard working so that complete great job. Please discuss requi Lisää

34 $ USD 1 päivässä
(97 arvostelua)
6.8
25 $ USD 1 päivässä
(8 arvostelua)
4.8
10 $ USD 0 päivässä
(13 arvostelua)
4.5
25 $ USD 1 päivässä
(11 arvostelua)
4.6
rkmomin

Hi there, Ok, I’ve read your brief and I would like to do this task. My team has 7 years experience designing and developing. I would approach your project by starting with wireframes and getting the design Lisää

50 $ USD 1 päivässä
(19 arvostelua)
4.6
saagark22

Hi, I can allow promotional code to be only 5 digits numeric code like 87986, 78787 etc. Please message me for any queries.

30 $ USD 0 päivässä
(19 arvostelua)
4.1
rambanstola

Available right now. I can make this ready in next hour

20 $ USD 0 päivässä
(15 arvostelua)
4.1
30 $ USD 0 päivässä
(16 arvostelua)
4.0
octopus823

if (/^[0-9]{5}/.test([url removed, login to view])) { mytotal = parseInt([url removed, login to view]); [url removed, login to view] = mytotal-200; [url removed, login to view] = formatCurrency([url removed, login to view] Lisää

24 $ USD 0 päivässä
(4 arvostelua)
3.4
webcolonizer

Hi, I have read your requirements and I can accomplish the same. I'm a PHP expert. Can begin working now and deliver a 100% accurate, high quality results. Fast and professional. I have years of experience in we Lisää

25 $ USD 1 päivässä
(6 arvostelua)
3.4
Sajjadhussain786

i can fix it right now.I am professional designer and developers i have a 5 year experience in that field. my recent work [url removed, login to view] [url removed, login to view] http://w Lisää

25 $ USD 1 päivässä
(5 arvostelua)
3.3
srajbr

Hello, I am available to do this task right now. I have good amount of experience with php. Regards, Samiran

20 $ USD 0 päivässä
(3 arvostelua)
2.2
medelasri

Hey Dear, I have a good experience in Javascript and I understand exactly what you looking for. Before you hiring me, please send me a reply with more details, I'll give you the function to test. Why me? Full- Lisää

20 $ USD 1 päivässä
(1 arvostelu)
2.1
yamaf555

Dear Sir.I sincerely hope for your success. I can do your task perfectly. NOW I am ready to work with you. please see my profile. I have a lot of experience in performing tasks on freelancer.com. I wish you furthe Lisää

133 $ USD 1 päivässä
(2 arvostelua)
2.0
laxman810

Hello i can do this task. and will complete now only. this is very easy task. i need good rating from you. just give less amount for this task Thanks, Laxman

10 $ USD 1 päivässä
(5 arvostelua)
1.8
MohsanEijaz

I have experience in MS Office, VBA Programming, XML, MS Work, Google Docs, SQL, Google Spreadsheet, Data Entry in Odoo, Google Document and other related applications. I believe my capabilities would be perfect for y Lisää

15 $ USD 1 päivässä
(3 arvostelua)
1.4
SAP2907

Hi, I am a highly trained web developer with an extensive background in know-how building websites & applications using various Markup and Scripting languages along with a strong history of diverse range of service Lisää

34 $ USD 1 päivässä
(1 arvostelu)
0.5
web1codesoftic

Codesoftic Team is highly dedicated to complete your project within the time. We are proud to work with an exceptional group of clients and including developers. We worked on Website design and Graphic Design,Software Lisää

25 $ USD 1 päivässä
(0 arvostelua)
0.0
geekabhisheksood

I’ve carefully gone through your job posting. I ’m professional web developer with more than 3 years of experience I am very much interested in your project with all of your requirements.I am always available on Email Lisää

25 $ USD 1 päivässä
(0 arvostelua)
0.0
dreaminfotechno

Hello, We have good experience of PHP,HTML,HTML5,CSS, Ajax,jquesry,JavaScript,Mysql, Graphic Design,Website Design,Bootstrap,wordpress,Codeigniter, open cart , E-commerce etc. We also have good experience in J2E Lisää

25 $ USD 1 päivässä
(0 arvostelua)
0.0