DEVELOPERS RESOURCES
EXPLAIN SOLUTION 3
"It works inside my existing website and allows jobseekers
to search, find and apply for jobs"
Search Form (complex) - similar to the simple search form but allows
more customisation options such as days, Industry, Match Type.
EXAMPLE
INSTRUCTIONS
Use the code below and please replace "3001" with your agencyid
To find out your agency ID click here
Test that it works
the way you want it to.
CODE
<FORM name="frmSearch" method=" post"action="http://www.work4a.com/agency/search.php">
<INPUT type=hidden name="agencyid" value="3001">
<INPUT type=text name="keyword">
<SELECT name="type">
<OPTION value="contract">Contract</OPTION>
<OPTION value="permanent" selected>Permanent</OPTION>
<OPTION value="both">Both</OPTION>
</SELECT>
<SELECT name="match">
<OPTION value="ALL" selected>ALL</OPTION>
<OPTION value="ANY">ANY</OPTION>
</SELECT>
<SELECT name="industry">
<OPTION value="Engineering" selected>Engineering</OPTION>
<OPTION value="Medical">Medical</OPTION>
<OPTION value="Retail">Retail</OPTION>
<OPTION value="Fashion">Fashion</OPTION>
</SELECT>
<SELECT name="days">
<OPTION value="0">0</OPTION>
<OPTION value="1">1</OPTION>
<OPTION value="2">2</OPTION>
<OPTION value="3">3</OPTION>
<OPTION value="4">4</OPTION>
<OPTION value="5" selected>5</OPTION>
</SELECT>
<INPUT type="submit" value="Search">
</FORM>
How do I further customise the job results ?
If you require not
to have all the customisations such as type,industry then you can pass
hidden values to the form, the example below shows how this can be done.
where this agency only deals in Accountancy and permanent jobs.
CODE
<FORM
name="frmSearch" method="post" action="http://www.work4a.com/agency/search.php">
<INPUT type=hidden name="agencyid" value="3001">
<INPUT type=text name="keyword"> <INPUT type="hidden"
name="industry" value="Accountancy">
<INPUT type="hidden" name="type" value="Permanent">
<INPUT type="hidden" name="match" value="ALL">
<INPUT type="submit" value="Search">
</FORM>
FORM ELEMENTS
Name
|
Required
|
Values
|
Default
|
Type
|
Agencyid
|
Yes
|
1
- 10000
|
N/A
|
Text
Box (Hidden)
|
Keyword
|
Yes
|
100
Characters
|
N/A
|
Text
Box
|
Type
|
Optional
|
Permanent,
Contract, Both
|
Both
|
Drop
Down / Hidden
|
Match
|
Optional
|
ALL,
ANY
|
ALL
|
Drop
Down / Hidden
|
Industry
|
Optional
|
Engineering,
Medical, Retail, Fashion
|
IT
|
Drop
Down / Hidden
|
Days
|
Optional
|
0,
1, 2, 3, 4, 5
|
5
|
Drop
Down / Hidden
|
|