It’s taken most of the day but I have finally finished updating (streamlining) the trussed rafter enquiry form, previously there were three separate forms, one for each roof shape. Well now there is a single (SMART) form, I have utilised the spry accordion widget to break the form up into smaller sections, with each panels content being drawn from a separate include file (easier to update individual sections that way).
The form validation is now handled by tmt.spry.widget.AccordionForm by massimocorner.com this validates each panel as you move between them and reports any errors in a div located above the accordion. So what makes it SMART, well panel one includes three building shapes, picking a shape updates the next panel with the matching roof shapes, which intern updates the next panel with the correct form fields to collect the necessary measurements for the building and roof shapes selected.
I am planning on updating the other forms on the website with similar features and layouts, maybe next week if I get chance, definitely won’t be Thursday though as I am going to Wolf Systems in Coventry to attend a Software Focus Group.














