Appnitro Software Forums » MachForm

Hide and unhide a compleet form?

(2 posts)

  1. MvdL79
    Member

    I am in the progress of building a new website; the layout and stuff is already done for the most part, but I am having a problem with the two order forms on my website. Well not the forms themselves, more with how they appear (and disappear).

    Like stated I have 2 forms on my website. When coming to my website they should be hidden (standard). When someone wants to order they press the link for order form A or form B.

    From here I am running into several problems.

    Problem #1
    I want each form only to appear when they click on a link.
    For example; when a person clicks on link 1 form A appears. If they click on link 2 form B appears.

    Problem #2
    If form A appears and they click on link 2, than form A should disappear and form B should be visible and the other way around.

    Problem #3
    Is it possible to load a page within the DIV for example I want form B to include extra-info.php. Is this possible?

    If I understand correctly the above would be possible with Javascript and with the use of hidden DIV's. But I really don't know much about Javascript to pull this of myself.

    I was wondering if the above would be possible. If yes, how would I be able to do this?

    Posted 1 year ago #
  2. wedobear
    Member

    I don;t see a way to do this on the form side it's self, your best bet may be to use an accordion effect. There are plenty of tutorials out there for this, some of them even give you a download of the code that you may need to modify to you specifications.

    Hope this helps

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.