Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Query Parameter getting removed from url

binoyp
Level 2
Level 2

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>

 

AEM html Query Parameter
1 Accepted Solution
ChitraMadan
Correct answer by
Community Advisor
Community Advisor

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?

View solution in original post

2 Replies
ChitraMadan
Correct answer by
Community Advisor
Community Advisor

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?

View solution in original post

berliant
Employee
Employee

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