Hello everyone . . .
haven’t been here in a while long time no see . . . just been doing my own thing, 3d and web stuff nothing specail.
Anyway my issue is,
I have a PHP form that has numorus fields in it. I am trying to collect a lot of data with this form, so instead of making the form scroll onto infinity, I decided to show /hid Divs according to the readers choices . . . This way the form isn’t so imposing.
Well the problem with this is even though the reader may choose one div to write text in, all the other Divs will show up in the final submission with a hole bunch of blank fields . . .
My alternative is to remove those unused divs out of the form altogether and just call them in as the user requests them using php includes.
my first step to bring the included div from my server to the form was to use this call
<?php require_once(‘form_data/classic.html’); ?>
unfortunately I have no idea of how to manipulate this to work like I want it.
I am thinking there is some sort of JS needed here, as I am clueless to PHP I am kinda stuck.
Can anyone help with this or point me in a direction to where I can read up on SSI with PHP and form selections?
Thanks in advance
gp