ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Multi-page Forms (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Multi-page Forms
#7076
jxl (User)
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Re:Multi-page Forms 1 Month, 2 Weeks ago Karma: 0  
Thanks Max. That's what I did, but I assume my JS is more complicated than need be? Can you give a sample of the JS line that would do the job more efficiently? I'm a novice at this. Thanks.

EDIT: I looked into this a bit more but so far the only way I figured out to both make it simpler AND remove the body onLoad attribute was to hard code a style=display:none into the div tags. That way I can remove the collapseAll function entirely.

The problem with this however, is that if someone does have JavaScript disabled it does not degrade gracefully. That is, the hidden sections of the form will not show and they will never get to see the submit button.
What to do?

Post edited by: jxl, at: 2008/03/29 23:36

EDIT: The best I have been able to do so far is to add a line of javaScript to the end of what I had before.
Code:

window.onload = collapseAll;
This enables me to remove the onLoad from the body tag but does nothing to make the rest of my JS simpler. I will now make that change to the first post in this thread.<br><br>Post edited by: jxl, at: 2008/03/30 00:35
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Multi-page Forms
jxl 2008/03/25 18:45
    thread link
thread linkthread link Re:Multi-page Forms
jxl 2008/03/26 03:52
    thread link
thread linkthread linkthread link Re:Multi-page Forms
admin 2008/03/27 01:40
    thread link
thread linkthread linkthread linkthread link Re:Multi-page Forms
jxl 2008/03/29 03:13
    thread link
thread linkthread linkthread linkthread linkthread link Re:Multi-page Forms
admin 2008/03/30 12:49
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:Multi-page Forms
jxl 2008/03/30 22:38
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:Multi-page Forms
admin 2008/03/31 18:40
    thread link
thread linkthread link Re:Multi-page Forms
jxl 2008/03/31 20:08
    thread link
thread linkthread linkthread link Re:Multi-page Forms
Raymon 2008/04/03 11:21
    thread link
thread linkthread linkthread linkthread link Re:Multi-page Forms
admin 2008/04/04 15:07
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials