Hello all,
I am trying to code a form that will store phone and address info for a directory. I want to be able to indicate if the person is a head of the house hold so that all others living in that house would be collected under him/her. This is especially important because the directory will likely have several different houses with the same last name. My final output would look like:
Smith, John & Sally
Jenny & Joe
123 Here Ave
hometown, PA 17782
Smith, Terri & Barbra
Christi
432 There Dr.
hometown, PA 17782
etc.
Currently I have created the form with a radio button for House Head? (yes, no).
But now I need to set it up so that if the answer is NO - they get to select a House Head from a select box. Then I need to save a parent_id for all children.
Any ideas??
thanks,
I am trying to code a form that will store phone and address info for a directory. I want to be able to indicate if the person is a head of the house hold so that all others living in that house would be collected under him/her. This is especially important because the directory will likely have several different houses with the same last name. My final output would look like:
Smith, John & Sally
Jenny & Joe
123 Here Ave
hometown, PA 17782
Smith, Terri & Barbra
Christi
432 There Dr.
hometown, PA 17782
etc.
Currently I have created the form with a radio button for House Head? (yes, no).
But now I need to set it up so that if the answer is NO - they get to select a House Head from a select box. Then I need to save a parent_id for all children.
Any ideas??
thanks,