So I have a search box at my site (https://kennis.ga), but it doesn’t convert spaces into dashes ( - ), so you have to enter themself. This is needed because, of course, you can’t enter spaces in a URL ( https://webmaq.wixsite.com/kennis/forum/search/ SERCHTERMHERE) If you’d want to search for site builder , you’d have to enter site-builder . This is not user-friendly.
Anyone knows how to fix?
My code:
import wixLocation from 'wix-location';
export function button80_click(event) {
wixLocation.to("https://webmaq.wixsite.com/kennis/forum/search/" + $w("#input1").value);
};