Hi there,
I'm hoping to write a series for pre-defined searches for my users which are displayed as hyperlinks on the Advanced Search page.
The code for the hyperlink so far looks like this:
<a href="#" onclick="java script:
Current_Status.value='Settled';
for(var i=0;i<File_Holder.options.length;i++)
{
if (File_Holder[i].text == 'Julie Cawley' || File_Holder[i].text == 'Claire Hopkins')
{File_Holder.options[i].selected=true}
}">Report 1</a></td>
When the user clicks Report 1, Julie and Claire are automatically highlighted in the File_Holder field and Current_Status is set to Settled.
What I now wish to do is change the Contains / Equals field for Current_Status but don't know how to reference it. The value will vary from report to report so I cannot hardcode the value (as per an older thread)
I'll need to do this for other fields on the advanced search screen too, once i've written the value to them.
Could anyone please advise of a simple way to do this?
In addition, and assuming the above is possible, can anyone advise of assigning the values to two dates fields if I set a date field search criteria to "Between"?
Many thanks in advance,
Bryan