This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Move complete form to different server. How to move "required items"


  1. lena
    Member

    I have a unique job I'm working on. I needed to create a very long form that needed to have each question handled in an accordion (to shorten it visually) and also create a score based on the answers. So, I created the form in MachForm and grabbed the source code (adjusted it to make it an accordion and then created a new custom processor so that it would do the scoring, etc.

    You can see the form here: http://focal.lenadev.com/safety-test.php

    Now I need to make each of the items required. My thought is to go back to MachForm and tell it "required" on each one. I see that it adds this to each question:

    <span id="required_X" class="required">*</span>, but is that necessary to make it work?

    I assume the other thing I would need to make it work is to update all the javascript in the header? Is this enough to make the required items work? Or am I missing something? Am I on the right track?

    Thanks,
    Lena

    (:

    Posted 10 years ago #
  2. daltx7
    Member

    I have moved forms between servers and added code after the fact, so if the question is to leave it at the form and insert that code into every field, sounds like a winner, although fairly labor intensive to ensure all li#'s have the code. That said, the main reason I am responding is that is one awesome form. It is amazing to me what macform can do, but you just threw it over the top with your additions. You have definitely given me some ideas. Thanks!

    Posted 10 years ago #

RSS feed for this topic

Reply