Gossamer Forum
Home : Products : DBMan : Customization :

Job Bank

Quote Reply
Job Bank
I like to make a job bank search, But I have a small problem.

- I like to make a education filed which able to search by heghest education and above, is possable?

(If a choice College, then it will show all the College and above. But not any High School's

- DBMan has something like this, but only for numbers. But can this function use by word? or any way I could do?

Quote Reply
Re: Job Bank In reply to
Uh, yes...You make your field an alpha field, like the following:

Code:
Education => [3, 'alpha', 0, 60, 1, '', ''],
Code:
Education => 'BA,Masters,PhD'

So, it would look like the following:

Code:
%db_select_fields = (
Education => 'BA,Masters,PhD'
);

Then in the sub html_record_form, you add the following codes:

Code:
|;
print &build_select_field("Education",$rec{'Education'});
print qq|

where you want to print the drop-down menu in your add, modify, and delete forms.

Then add the same codes to your sub html_record where you want to print the drop-down menu for the search forms.

Hope this helps.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------