TOPIC:

Bug for display value on mobile form with the visibility rules 9 months 2 weeks ago #269483

  • Topic Author
  • Lio RTCN
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 55
  • Thanks: 0
Hi all,

I have a very strange bug with the visibility rules.

When I insert a code in the visibility settings in my form, my responsive form does not display the chosen value on the smartphone screen (it selects it well but does not display it). It continues to display the first choice after clicking another lower choice.

Problem with JS/jQuery ?
Problem with my visibility rules? Here is the code:
turn off element cours if stage is #Sem 2 (PT)|Sem 3 (PT)|Sem 6 (PT)
turn off element statut if stage is #Sem 2 (PT)|Sem 3 (PT)|Sem 6 (PT)
turn off element noaffiliation if stage is #Sem 2 (PT)|Sem 3 (PT)|Sem 6 (PT)
turn off element statut if cours is inscrit(e) aux cours 2021-22
turn off element noaffiliation if statut is non-affilié(e)
turn on element cours if stage is #Sem 2 (TMS)|Sem 3 (TMS)|Sem 4 (TMS)|Sem 5 (TMS)|Sem 6 (TMS)|Sem 7 (TMS)|Sem 1 (CPT)|Sem 8 (CPT)
turn on element statut if cours is ne participe pas
turn on element noaffiliation if cours is inscrit(e) aux cours 2021-22
turn on element noaffiliation if statut is #affilié(e) RTCN|affilié(e) autre club

No problem with the desktop version.
No worries either if I remove the visibility rules.
I tried with other forms on my website, same bug.
The issue appears on both Chrome mobile and Safari so I think it's a Breezingforms mobile layout issue.
My BF version : BreezingForms 1.9.0 Stable (build 936)
I attach some screenshots and package (form : inscriptionstages).

Help! :-(
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: Post by Lio RTCN.

Bug for display value on mobile form with the visibility rules 9 months 2 weeks ago #269506

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11753
  • Karma: 3
  • Thanks: 761
Hi,

could you please send me login information, backend link that I can test it and try to solve it directly in your page?

Use this tag:
[confidential]
[/confidential]
Only forum moderator can see this

I will test everything and find an alternative (I will test it using some javascript code)

P.S: please write name of form too

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Bug for display value on mobile form with the visibility rules 9 months 2 weeks ago #269507

  • Topic Author
  • Lio RTCN
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 55
  • Thanks: 0
Hi Tihana,

This message contains confidential information


Thank you !!!

Please Log in or Create an account to join the conversation.

Last edit: Post by Lio RTCN.

Bug for display value on mobile form with the visibility rules 9 months 2 weeks ago #269509

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11753
  • Karma: 3
  • Thanks: 761
Hi,

could you please upgrade BF to the newer version (the latest pro version is 191 (build 941), and the latest free is build 939) ?

Also, you can use javascript and visibility rules.

For this you can remove the condition from form->Advanced->Visibility rules.

Then in visibility rules add this:
turn on element mydummy if yourdummy is something
Don't change anything here

Then go to select list in which is value on which you want to turn on/off some fields -> Advanced->Actionscript->check Custom->check Change and put:
function ff_nameofselectlist_action(element, action) //where nameofselectlist is the name of the selectlist
{
     switch (action)
     {
          if (ff_getElementByName('nameofselectlist').value=='somevalue' || ff_getElementByName('nameofselectlist').value=='someothervalue) // here you can add further dependencies
          {
                bfToggleFields('on','element','nameofelementyouwanttoturnon',bfDeactivateField);
          }
         
          break;
          default:;
     } // switch
} // ff_nameofselectlist_action

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

Bug for display value on mobile form with the visibility rules 9 months 2 weeks ago #269512

  • Topic Author
  • Lio RTCN
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 55
  • Thanks: 0
Can I do this via Joomla Admin or I have to pay again for download via Crosstec ?

Please Log in or Create an account to join the conversation.

Bug for display value on mobile form with the visibility rules 9 months 2 weeks ago #269513

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11753
  • Karma: 3
  • Thanks: 761
Hi,

if you have subscribtion then you can download pro version from Crosstec site in My account->My downloads.

But before please test my solution, I updated my message (you can make a copy of original form and then test this).
Also, here is documentation:
crosstec.org/en/support/online-documenta...s-in-javascript.html

If you get in stuck, please let me know

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.
  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.054 seconds

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!