i want to get the smart search text which is typed by user and check if it is there then one page should generate and if result is not there then another page.
The searched text is present in the url in the searchtext query string, so you can take it from there.
Please, sign in to be able to submit a new answer.