September 20, 200124 yr Newbies I am a CDML newbie and I would like it if someone can help me or point me in the right direction regarding the following: I have a search page. On it is a search that includes a pre-determined FM value list. I know how to get the user to a search_results page after the search regardles of what search value they choose, but how would get the user to a results page that is customised to the value they searched for? Any help is greatly appreciated!!! Christine
September 21, 200124 yr It depends on what you like to achieve. One simple way is to build IF condition in page and show/hide what is necessary. Another way is to switch to another pages after IF evaluation. Maybe also Inline can display another result.
September 22, 200124 yr If I have understood this correctly, you could create a script that takes the user to a different layout depending on the choice made in the value list. Then, create a script that includes the following steps : Enter Find Mode [pause] Perform Find If["Color = black") Go to Layout [Layout#1] EndIf If["Color = blue"] Go to Layout [Layout#2] EndIf Enter Browse Mode Of course, you could add as many If steps as you need.
September 22, 200124 yr Sorry, Possibly, my reply is not very clear. What I meant to say was this : first create the different layouts where you want the users to land. Then, create the find and open layout script.
September 22, 200124 yr Something like that. Just remember, you have two programming languages at your fingertips: CDML and JavaScript. You can have one HTML page and then the IFs are controlling what will be shown and what not. Or you can redirect via JavaScript on conditions.
Create an account or sign in to comment