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

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

select multiple implementation


  1. epsd
    Member

    I've managed to find where, in the code, I can change the regular select drop down boxes to select multiple boxes: view-functions.php, line 652. Easy.

    The problem is, the program errors out when i submit the form now. I'm guessing it has problems processing this new array... Where would I find the lines of code to modify to enable the program to handle arrays?

    Posted 15 years ago #
  2. yuniar

    I must say that processing is the hard part. Since you are doing a major field change, lots of related code need to be changed, including table structure.

    You need to modify save.php so that the table could handle multiple values and then the code in "post-functions.php" file, under process_form() function. Lot of work need to be done there, since changing the code there might affect another code in another file.

    Which I'm afraid I can't help much with this one, sorry.


    MachForm Founder

    Posted 15 years ago #

RSS feed for this topic

Reply