Recent searches
No recent searches

Rasmus Hedback
Joined Mar 14, 2023
·
Last activity Oct 25, 2023
Following
0
Followers
0
Total activity
3
Vote
1
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Rasmus Hedback
Rasmus Hedback commented,
Community comment Q&A - Help center and community
Another approach would be to let the form build the correct query string when submitting it, simply add a hidden input by adding this to script.js
const search_form = document.querySelector('form.search');
const input = document.createElement('input');
input.setAttribute('type', 'hidden');
input.setAttribute('name', 'type');
input.setAttribute('value', 'knowledge_base');
search_form.appendChild(input);
View comment · Edited Oct 25, 2023 · Rasmus Hedback
0
Followers
1
Vote
0
Comments