Hello,
I tried rbf_showOrHideField() in beta 4.0.4. It is working fine, but here is how it is behaving : (I am hiding field 'Salutation').
So before Hide :
And After Hide :
Basically field 'Home Phone' that was on the right column is jumping to the left one, leaving a space.
Is that what we should expect from this function ?
Thank you
Meryem
For V4.0.5, We have added an optional parameter to this function to let end user controls the responsive behavior when the field is hidden.
The function signature is now: rbf_showOrHideField(fieldName, showField, doNotHideResponsiveColumn)
Where:
doNotHideResponsiveColumn: optional argument - when does not exist, we default to doNotHideResponsiveColumn = false
doNotHideResponsiveColumn = true, we hide only what's inside the responsive column (thus maintaining an element at position occupied by content so that the next responsive column does not come on the one being hidden)
doNotHideResponsiveColumn = false, we hide the responsive column, thus the next responsive column will take its place.
Thierry.
Also, this behavior is consistent with Classic UI.
For V4.0.5, We have added an optional parameter to this function to let end user controls the responsive behavior when the field is hidden.
The function signature is now: rbf_showOrHideField(fieldName, showField, doNotHideResponsiveColumn)
Where:
doNotHideResponsiveColumn: optional argument - when does not exist, we default to doNotHideResponsiveColumn = false
doNotHideResponsiveColumn = true, we hide only what's inside the responsive column (thus maintaining an element at position occupied by content so that the next responsive column does not come on the one being hidden)
doNotHideResponsiveColumn = false, we hide the responsive column, thus the next responsive column will take its place.
Thierry.
Hi Thierry,
Thank you for this !
We are actually implementing our responsiveness function so this might need some more discussions as per what we are keeping or not. I am saying that cause we were under the impression that you are going to provide some API/ function to specify which responsiveness we want to apply, vertical or horizontal.
Can you tell us more about this as we brought the matter of responsiveness here. :)
I will get back to you on the rbf_showOrHideField question later.
Thanks !
Meryem