Pre populate the SearchbySites search box

Comments

3 comments

  • Avatar
    Shirly Manor

    Sure, you can add an html element to choose the site to search by and add it to your upload widget. Here is a sample code for you: https://jsfiddle.net/shirlymanor/uqf7rc53/

    Please note, that you'll need to get the API Key from google as described here: https://cloudinary.com/documentation/upload_widget#image_search_source

    Hope that helps,

    0
    Comment actions Permalink
  • Avatar
    Heather Mann

    Hey Shirly,

     

    Thanks for the response.  That's not actually what I'm trying to achieve though.  What I want is for the contents of an input field on a form to be copied into the search box in the upload widget.  So in the case below "Snooze an A.M. Eatery" which is in the title field on my form would automatically appear in the search box...

     

    0
    Comment actions Permalink
  • Avatar
    Heather Mann

    Bonus points if it could go ahead and run the search!!

    0
    Comment actions Permalink

Please sign in to leave a comment.