Query Parameter getting removed from url

Avatar

Avatar
Validate 1
Level 1
binoyp
Level 1

Like

1 like

Total Posts

25 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
binoyp
Level 1

Like

1 like

Total Posts

25 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
binoyp
Level 1

20-07-2020

Hi Guys,

 

Could someone help me understand why the below form doesn't redirect with the query parameter "fulltext" to the action url.

It was found to work intermittently. The query parameter is stripped off during navigation


<form action="/content/AEMMaven18/en/searchresults.html" id="custom-search-form">
<div class="custom-search-field">
<input class="search-term" type="text" name="fulltext" >
<input type="submit" value="Submit">
</div>
</form>

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 250
MVP
ChitraMadan
MVP

Likes

273 likes

Total Posts

165 posts

Correct reply

67 solutions
Top badges earned
Boost 250
Establish
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Boost 250
MVP
ChitraMadan
MVP

Likes

273 likes

Total Posts

165 posts

Correct reply

67 solutions
Top badges earned
Boost 250
Establish
Ignite 1
Give Back 5
Give Back 3
View profile
ChitraMadan
MVP

20-07-2020

Hi @binoyp ,

 

I have tried your code in my local and for me everytime query paramter is appended to the URL.

 

Are you getting any error when the parameter is not appended?

Did you try in different browsers?

Did you try in incognito mode?

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

21-07-2020

Are you request a URL with a query through an HTTPD+Dispacther?