|
I have a problem trying to expand the application form for some additional required fields that our HR department wants to add. I have extended the applications table to include a filed "county_wood_bg" for example. (There are more, but if I can get the one resolved, I should be able to get the others as well.)
I am using the long.php form, and added an additional line, based of of the can you work evenings or week-ends fields, like this:
<input type="checkbox" name="county_wood_bg" id="county_wood_bg" class="inputbox" value="1" <?php if (isset($this->application)) if ( '1' == $this->application->county_wood_bg ) echo "checked "; ?> /> <div class="input_text">Bowling Green</div>
When I complete the form, and don't fill in all the required fields, the weekends (and others) field remains checked (I had checked the box, so that is correct) but the custom field does not retain its state.
I have tried to go through all the files that might have this field, but can not find anywhere that might prevent this from loading. Can anyone provide some assistance as to where I might have forgotten? I have done a site-wide search for the weekend field, figuring that if that field is working, I just need to add my code there in a similar fashion, but am still not able to gett his field to retain its state.
Thanks for any assistance you can provide. |