Query Parameter getting removed from url

Avatar

Avatar

binoyp

Avatar

binoyp

binoyp

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>

 

AEM html Query Parameter

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ChitraMadan

MVP

Avatar

ChitraMadan

MVP

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

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

21-07-2020

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