• 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 whitespace

Conditional fields whitespace 6 years 8 months ago #38404

  • grfx
  • grfx's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I have a form with 12 conditional fields, inside each of those conditional fields there are anywhere from 10 - 20 options. As far as functioning everything works as it should on select of the appropriate option(s).

The problem is when anything other than the first option it shows the blank divs down to the point of the conditional field that should be showing.
Example - if option 12 is selected, 11 divs for the conditional fields are creating whitespace in the middle of the form.

I have searched high and low for an answer, experimented with some css coding all to no avail.

Using RSForm! Pro 2.0.13
Responsive layout
Grid Layout as follows
12/12 (Conditional select options)
12/12 (next button - this has been disabled and reenabled)
6/12 (Persons information, name address, tel, etc)

12/12 (Contains all field options per conditions - these were all in one grid block and are now seperated in individual grid blocks - neither way mattered as far as whitespace)

Anybody with some insight to this is most appreciated.
The administrator has disabled public write access.

Conditional fields whitespace 6 years 8 months ago #38425

  • grfx
  • grfx's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
as a follow up and after much head scratching i have the page layout looking as desired.
The dilemma now is the white space in the conditional email. For all practical purposes it should not be showing per what I have read however not the case.

Below is to RSJoomla in a ticket I submitted regarding this however thought i would post as well to see if anyone has encountered the issue and perhaps a resolution.

Hello,

The form function on the page is fine - it is the admin emails have white space from the conditional fields that were not called by selecting.

The configuration is as follows.
Joomla 3.8.11
Yootheme Digit template (modified)
RSForm! Pro 2.0.14
ulkit 2.27.4
Grid Layout as follows
12/12 (Conditional field select options)
6/12 (Persons information, name address, tel, etc)
12/12 (next button)
(12) 12/12 blocks - Contains all field options per conditions - these were all in one grid block and are now separated in individual grid blocks - neither way mattered as far as white space in emails)

I am probably using as many if not more fields than most people would use in RSFORM however feel this is possible. I attached the form so you can see my configuration, how many fields, and my conditional email configuration.

I am guessing though unsure that there would be a script of something to resolve the white space in emails however have yet to find an answer.

Your response is most appreciated!
The administrator has disabled public write access.

Conditional fields whitespace 6 years 6 months ago #38509

  • garry0
  • garry0's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 1
I too have this problem. Too much white space for hidden conditional fields.
The administrator has disabled public write access.

Conditional fields whitespace 6 years 6 months ago #38511

  • grfx
  • grfx's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
This from support...

The whitespaces are caused by your <br /> or <p>. Basically, your IF statements will remove their contents accordingly, through the <br /> tags simply remain in your email body, thus creating such spaces.

Your simplest approach would be to include these <br /> tags within the {if} statements. Thus, when the {if} statement will remove its contents, it will remove <br /> as well.
For me to resolve this I used plain text edit so no <br /> or <p> tags were outside the {if} statements. The end result desired was shown in the emailed form using the conditional statements. As a word of caution, if your form has many conditions as mine did, I would suggest keeping a working copy in the case that your editor gets switched as it will cause this problem again.

I hope this helps.
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!