November 12, 200421 yr Newbies Is it possible to store the selected value from a value list ? e.g. <select name="subj1"> <option value="">Select Subject</option> [FMP-ValueList: get_subject] <option value="==[FMP-valuelistitem]">[FMP-valuelistitem]</option> [/FMP-ValueList] </select> so that the value of "subj1" can be passed to 'subj2' in order to perform an 'or' search on subj1 & subj2. Thanks drewc
November 12, 200421 yr I dont' see why not. In Lasso 7 it would be fairly easy -OpBegin: And (Don't think thats the right format, but you get the point. 'subject1'=(Action_Param: 'valuelist'), 'subject2'=(Action_Param: 'valuelist'), -OpEnd] Something like that should work.
November 29, 200421 yr Newbies hey sort of having an issue with CDML. Seems like its going out, I was woundering what products write in lasso?
November 29, 200421 yr You can use some Javascript to achieve this. In the <head>: <script> function prepform() { document.theform.subj2.value = document.theform.subj1.value; document.theform.submit(); }; </script> And the Form should contain: <form name="theform" action="FMPro" method="POST" onsubmit="prepform(); return false;"> ...... <input type="hidden" name="-lop" value="or"> <input type="hidden" name="subj2 value=""> ....... All the best. Garry
Create an account or sign in to comment