Appnitro Software Forums » MachForm

Additional code

(2 posts)

  1. Hi. I am about to implement a form using this wonderful script (see http://www.nodular-prurigo.org.uk/quality.html). The answers to these questions have a score applied to each one which are then totaled up to give the so called DLQI.

    The answer to the majority of questions have a score of either 0, 1, 2 or 3 applied depending on which selection is made. By creating an additional variable for each question's answer it is then simple maths to come up with the total score which can be posted along with the other results from the form.

    Please help me from trawling through all the files by saying here can I best place this additional code?

    Many thanks,
    Rebecca

    Posted 1 year ago #
  2. Hi Rebecca,

    I must say this won't be quite easy to do.
    However, if you really would like to do it, you can modify "includes/view-functions.php" file.

    This file contains all the functions which handle the display of your form.
    The major function is display_form() which display your main form. I suppose you will need to put your main code here.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.