Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello All, Maybe I shouldn't even

Status
Not open for further replies.

Pixelchik

Technical User
Apr 16, 2002
391
US
Hello All,
Maybe I shouldn't even be here, but Here goes: I don't have ANY knowledge of Cold Fusion. I only know basic HTML. But I have been assigned the task to make some updates on a few web pages to a website done in Cold Fusion. I have a form that uses a text search (part numbers) that will result in loading a page with a table with part numbers and pdf files etc. My client wants to change that form to a button that only performs a specific keyword search that will bring up that specific data via an html table page similar to what it already does. What would I have to know/do to accomplish this? I know...kinda vague, but they're too cheap to hire a Cold Fusion programmer. I'm just a graphic designer on a wing and a prayer with Cold Fusion. Any help appreciated!
 
Examine the original form. It will have a field for entering part numbers.. say it is called "SearchText".

All you need to do is create a new form. It will have the same "action" but instead of a input type="text" add an input type="hidden" like:

<form action=&quot;originalaction.cfm&quot; method=&quot;post&quot;>
<input type=&quot;hidden&quot; name=&quot;SearchText&quot; value=&quot;123_a_7&quot;>
<input type=&quot;submit&quot; name=&quot;NameofOriginalSubmitButton&quot; value=&quot;GO!&quot;>
</form>

That *may produce an error.. there may be other hidden or required fields in the original form. Keep adding &quot;hidden&quot; elements to your new form until they go away :)
 
Thanks CFHub,
I will try to encode that into my page and see what happens!
 
Hi again CFHub,
Many thanks...it worked!!! It took me several days of finding where the name of the text search was and editing the form, but I have the results I wanted. Thanks again.

Celeste
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top