Pre populate the SearchbySites search box
Is there a way to pre-populate the SearchbySites search box in the upload widget?
-
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,
-
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...
Please sign in to leave a comment.
Comments
3 comments