Find Jobs
Hire Freelancers

Simple PHP/JS Question-Answer

$30-250 USD

Tamamlandı
İlan edilme: yaklaşık 11 yıl önce

$30-250 USD

Teslimde ödenir
using just basic JS no Jquery... We have a form that posts to another website outside of out control (to capture email address). when the user submits the form the data is checked with a js function to validate the data... ex: validate(form){ var from = [login to view URL]; if ([login to view URL] === 0) { alert("Please Enter your Email Address."); return false; } The form posts to an external site (so we have no control over it) something like [login to view URL] The problem is, the form is optional, and if it is filled out we want it to post the data as entered to the external site as normal. However, if there is no data (someone just clicks the submit button) we want the site to redirect the user to a different page. Tried, if (from.length===1){ [login to view URL] } (for testing to see if a [login to view URL] would work) That is not working. Probably simple for someone knowledgeable. Recap. Form submits to external site, if user enters nothing then redirect to a different site/url.
Proje No: 4249372

Proje hakkında

1 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 11 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
Hi, i can do it for you, right now !
$30 USD 0 gün içinde
4,9 (293 değerlendirme)
6,4
6,4

Müşteri hakkında

   UNITED STATES bayrağı
Geneseo, United States
5,0
5
Ödeme yöntemi onaylandı
Nis 30, 2007 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.