• 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: Conditional fields showing in a split second !

Conditional fields showing in a split second ! 1 year 2 months ago #43736

  • rbuelund
  • rbuelund's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
On this page: aboutlearning.ableit-dev.dk/bestilling?form[produkt]=Visual%20Explorer - when you reload the page all the Free text fields (which contain images) are shown for a split second before they are hidden - how do i avoid this ?
Last Edit: 1 year 2 months ago by rbuelund.
The administrator has disabled public write access.
The following user(s) said Thank You: info4060

Conditional fields showing in a split second ! 16 hours 45 minutes ago #44188

  • info4060
  • info4060's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
This worked for me on a Yootheme template:

1) CSS (Custom Code)
/* Form init: onzichtbaar */
#rsform_1_page_0 {
opacity: 0;
visibility: hidden;
}

/* Zodra ready: zichtbaar */
#rsform_1_page_0.rsfp-ready {
opacity: 1;
visibility: visible;
transition: opacity .15s ease;
}

2) JS (Custom Scripts)
(function () {
function showForm() {
var el = document.getElementById('rsform_1_page_0');
if (el) el.classList.add('rsfp-ready');
}

// Meest safe: pas tonen als alles geladen is (incl. RSForm scripts)
window.addEventListener('load', showForm);

// Fallback: als load om wat voor reden dan ook niet vuurt
setTimeout(showForm, 2000);
})();
Last Edit: 16 hours 45 minutes ago by info4060. Reason: text
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!