Hi - I am developing my first real website - wow so much to learn...
I am using Joomla with BreezingForms; BreezingForms has a... er... "feature" whereby field validation failures result in red error balloons (that's nice) -- but those error balloons remain on the screen(?)/window(?) (not sure what the right term is...) when clicking the "back" button.
Can any of you js/css/html gurus tell me how to clear all the red error balloons when I click on the back button?
Because I'm such a noob at this, it's taken me HOURS just to figure out that the element names for my fields are e.g. ff_elem227 and their associated error balloons are e.g. ff_elem227formError (for my Date of Birth field)
I can clear the balloons by hovering over them one at a time, or by typing anything into each field. This deletes the node e.g.:
<div class="formError ff_elem227formError" style="top: 481.64772176742554px; left: 213.8068084716797px; margin-top: 0px; opacity: 0.87;"><div class="formErrorContent">Please enter your Date of Birth (MM/DD/YYYY)
</div><div class="formErrorArrow formErrorArrowBottom"><div class="line1"><!-- --></div><div class="line2"><!-- --></div><div class="line3"><!-- --></div><div class="line4"><!-- --></div><div class="line5"><!-- --></div><div class="line6"><!-- --></div><div class="line7"><!-- --></div><div class="line8"><!-- --></div><div class="line9"><!-- --></div><div class="line10"><!-- --></div></div></div>
It seems to me the easiest way to clear all the red error balloons on demand (e.g. when clicking the back button) is to delete the nodes with class="formErrorContent"
Can someone please take a look and validate my thinking (or show me a better way) - and I need the associated code to delete the nodes (I imagine some jquery that deletes the nodes when clicking on the back button)
My site is http://www.leasetobuyhouston.com/index.php/tenant-buyer-application
Fill out the first page and click next (you'll need a valid date e.g. 12/12/2012 and SSN e.g. 111-11-1111; all other fields only need 1 character; select any state)
On the second page, click next without filling anything in. This will display a bunch of red balloons.
Then click "back" and you'll see what I'm talking about.