You can use regular JavaScript on the OnSubmit() event. From there, you can post the form to any page you like. That page can be a .NET page that calls RQL using the Web Service API. Another way would be to use any AJAX Library (like Prototype, http://www.prototypejs.org/) to make an asynchronous call to the .NET page so the user doesn't incur a page refresh from with SmartEdit (I assume this is in SmartEdit, otherwise this wouldn't make sense).
Also, this would need some IO... tags to make sure it only shows up in SmartEdit and not during publication time. If you provide a little more detail for the use case, I might be able to provide a better solution. Christian Oshyn - OpenText Content Management Experts - http://www.oshyn.com On May 18, 7:27 am, D <[email protected]> wrote: > Hi to everyone. > I would like to ask for suggestions and help. > > I created a list of pages (in a table). I made a loop and displayed > the headline of the pages. > I used form so users can choose a file. > > <form> > <table cellpadding="2" cellspacing="0" border="1"> > <tr><th> </th><th>Filename</th></tr> > <%allfiles%> > </table><br/> > <input type="submit" value="Choose" /> > </form> > > <%allfiles%> is a container and the pages inside it has this template: > <tr><td><input type="radio" name="x" value="<%pageheadline%>"></td> > <td><%pageheadline%></td></tr> > > The table per se is okay. My problem is how could I possibly pass the < > %pageheadline%> value to a variable upon hitting the Choose button. > From there, I would like to create RQL script that will use the chosen > file. > > Any help is greatly appreciated. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
