내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Is there any easy way to pass parameters from a form on 1 page to another

Avatar

Level 1

I am newcomer to AEM.

I have a form on 1 page and based on what the user selects here, i need to make the content on the next page visible or not. What is an eacy way to do that.

 

Thanks

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 8

If the number of variations is small the most common way would be to use a selector (/content/site/en/page2.option1.html or /content/site/en/page2.option2.html). 

Selectors are cachable and probably the best solution for what you have described. 

You just need to make sure you whitelist your selector in dispatcher to prevent DDOS attacks.  

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Level 1

Thanks

Avatar

정확한 답변 작성자:
Level 8

If the number of variations is small the most common way would be to use a selector (/content/site/en/page2.option1.html or /content/site/en/page2.option2.html). 

Selectors are cachable and probably the best solution for what you have described. 

You just need to make sure you whitelist your selector in dispatcher to prevent DDOS attacks.  

Avatar

Level 10

As Orotas pointed out selectors is a good way. See this community article for more information:

http://www.citytechinc.com/us/en/blog/2013/08/apache-sling-selectors-request-parameters.html