• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Preview before submitting

Preview before submitting 11 years 5 months ago #25596

Hi.

I read all documentions about this subject in rsjoomla.

I can not get span ids. Because of this I can not see datas in preview section.



My freetext field is like this:

<table>
<tr><td><h3>Bilgileri Onaylıyor musunuz?</h3></td></tr>
<tr><td><p><strong>Kişilik Türü:</strong> <span id="pKisi"></span></p></td></tr>

<tr><td><h4>Kullanıcı Bilgileri</h4></td></tr>
<tr><td><p><strong>Kullanıcı Adı:</strong> <span id="pKullanici_Adi"></span></p></td></tr>
<tr><td><p><strong>Şifre:</strong> <span id="psifre"></span></p></td></tr>
<tr><td><p><strong>E-posta:</strong> <span id="pemail"></span></p></td></tr>

<tr><td><h4>Kimlik Bilgileri</h4></td></tr>
<tr><td><p><strong>Ad:</strong> <span id="pAd"></span></p></td></tr>
<tr><td><p><strong>Soyad:</strong> <span id="psoyad"></span></p></td></tr>
<tr><td><p><strong>TC Kimlik Numarası:</strong> <span id="pTCNo"></span></p></td></tr>
<tr><td><p><strong>Doğum Tarihi:</strong> <span id="pdogum"></span></p></td></tr>

<tr><td><h4>İletişim Bilgileri</h4></td></tr>
<tr><td><p><strong>Telefon:</strong> <span id="pTelefon"></span></p></td></tr>
<tr><td><p><strong>Faks:</strong> <span id="pfaks"></span></p></td></tr>
<tr><td><p><strong>GSM:</strong> <span id="pgsm"></span></p></td></tr>
<tr><td><p><strong>Adres:</strong> <span id="pAdres"></span></p></td></tr>
<tr><td><p><strong>Kullanıcı Sözleşmesini okudum, kabul ediyorum.</strong> <span id="psoz"></span></p></td></tr>
<tr><td><p><strong>Haber listenize üye olmak istiyorum.</strong> <span id="pmaillist"></span></p></td></tr>

<tr><td><p><strong>LÜTFEN GİRDİĞİNİZ BİLGİLERİ BİR KEZ DAHA KONTROL EDİNİZ. GİRMİŞ OLDUĞUNUZ BİLGİLERİN DOĞRULUĞUNDAN EMİNSENİZ DEVAM EDİN!</strong></p></td></tr>
</table>


My Jscript code is like this:

<script type="text/javascript">
function preV(param1, param2, param3, param4)
{
if (param2 == 5 && param3 == 5)
{
var i;
for(i=0;i<document.getElementsByName('form[Kisi]').length;i++)
if (document.getElementById('Kisi'+i).checked)
document.getElementById('pKisi').innerHTML = document.getElementById('Kisi'+i).value;
document.getElementById('pKullanici_Adi').innerHTML = document.getElementById('Kullanici_Adi').value;
document.getElementById('psifre').innerHTML = document.getElementById('sifre').value;
document.getElementById('pemail').innerHTML = document.getElementById('email').value;
document.getElementById('pAd').innerHTML = document.getElementById('Ad').value;
document.getElementById('psoyad').innerHTML = document.getElementById('soyad').value;
document.getElementById('pTCNo').innerHTML = document.getElementById('TCNo').value;
document.getElementById('pdogum').innerHTML = document.getElementById('dogum').value;
document.getElementById('pTelefon').innerHTML = document.getElementById('Telefon').value;
document.getElementById('pfaks').innerHTML = document.getElementById('faks').value;
document.getElementById('pgsm').innerHTML = document.getElementById('gsm').value;
document.getElementById('pAdres').innerHTML = document.getElementById('Adres').value;
var j;
for(j=0;j<document.getElementsByName('form[soz][]').length;j++)
if (document.getElementById('soz'+j).checked)
document.getElementById('psoz').innerHTML += " " + document.getElementById('soz'+j).value;
var l;
for(l=0;l<document.getElementsByName('form[maillist][]').length;l++)
if (document.getElementById('maillist'+l).checked)
document.getElementById('pmaillist').innerHTML += " " + document.getElementById('maillist'+l).value;
}
rsfp_changePage(param1, param2, param3, param4);
}
</script>


My php script is like this:

$formLayout = str_replace('rsfp_changePage(','preV(',$formLayout);
The administrator has disabled public write access.

Preview before submitting 11 years 5 months ago #25604

solved thank you.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!