Forum Post: Re: [beta 4.0.4] Rbf_showorhidefield()

  • Thread starter Thread starter Thierry Ciot
  • Start date Start date
Status
Not open for further replies.
T

Thierry Ciot

Guest
Yes this is to be expected because the Bootstrap responsive column element is hidden/shown with this function. As a result, when you hide a responsive column the next responsive column will take its place (in other words, it is as if you didn’t have the responsive column at all in the responsive row). You have to consider the various screen size to see the effect. Below is an example. We can provide a different behavior (See response below – sorry for the long response but I thought visual example would be better at explaining than words J ). In the 4 screenshots below, the example is a section designed with 4 columns. We call the function to hide the field called Checkbox. Before hiding : After hiding – large screen : After hiding – medium screen : After hiding – small screens : The alternate behavior we can implement is illustrated with the screenshots below. Essentially, we can implement it by hiding the content of the responsive column instead of the responsive column itself (we could let you specify the behavior by adding an optional third parameter - function rbf_showOrHideField(fieldName, showField, doNotHideResponsiveColumn) ). Field hidden – large screen Field Hidden – medium screen Let us know what you think. Thanks. Thierry.

Continue reading...
 
Status
Not open for further replies.
Back
Top