• 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: birthday field not showing in preview data page

birthday field not showing in preview data page 6 years 2 months ago #38843

  • reza41
  • reza41's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
hi.
i create preview data page like this:
www.rsjoomla.com/support/documentation/r...a-before-submit.html

when i add birthday field in the form (field name: born_date) and add the Preview field for showing born date:
<tr><td><p><strong>BirthDay:</strong> <span id="bornP">.</span></p></td></tr>

then add functionality to javascript:
...
document.getElementById('bornP').innerHTML = document.getElementById('born_date').value;

but after click on break button nothing happens. if i delete
document.getElementById('bornP').innerHTML = document.getElementById('born_date').value;

Everything is right.
how I show birthday in preview data page?
The administrator has disabled public write access.

birthday field not showing in preview data page 4 years 1 month ago #41051

Hello,

you must used this:

Day: document.getElementById('XXXdPreview').innerHTML = document.getElementById('XXXd').value;
Month: document.getElementById('XXXmPreview').innerHTML = document.getElementById('XXXm').value;
Year: document.getElementById('XXXyPreview').innerHTML = document.getElementById('XXXy').value;

Replace XXX with your field-name
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!