Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help: Search Form Submit to iFrame in new page

    Hey folks,
    I'm trying to submit a search form to a library database that will show results in an iFrame that's located in another page. I believe it has something to do with the target attribute, but haven't really managed to get anything useful happening. The code below works to search the db in its own new window.

    Code:
    <form name="catalog-search" action="http://www.coala.org/uhtbin/cgisirsi/W0RuTQQHuY/0/0/57/5" method="GET">
    <p>
    <input name="search_type" value="search" type="hidden" />
    <input name="user_id" value="DELRAY" type="hidden" />
    <input name="password" value="guest" type="hidden" />
    <input name="library" value="DELRAY" type="hidden" />
     
    <input type="text" size="18" name="searchdata1" maxsize="100" style="font-size: 10pt" value="">
    <select name="srchfield1">
                <option value="GENERAL^SUBJECT^GENERAL^^words or phrase">Keywords</option>
                <option value="AU^AUTHOR^AUTHORS^Author Processing^author">author</option>
                <option value="TI^TITLE^SERIES^Title Processing^title">title</option>
                <option value="SU^SUBJECT^SUBJECTS^^subject">subject</option>
                <option value="SER^SERIES^SERIES^Title Processing^series">series</option>
                <option value="PER^PERTITLE^SERIES^Title Processing^periodical title">periodical title</option>   </select>
    <input type="submit" value="Search" border="0" alt="Search">
    
    </form>
    I need it to submit the search to an iFrame located at www.myaddress.com/catalogpage.php

    I'm building this in wordpress and have access to all the template files so if I need to edit those that's not a problem.


    Any help would be greatly appreciated.

    Thanks!
    Last edited by holdenhenry; 02-15-2012 at 03:50 PM. Reason: clarification


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •