Hi all, 1) Instead of using the textlink Next I want to use a button (form) ? How can I establish this ? <dtml-if next-sequence> <a href="<dtml-var URL><dtml-var sequence-query>query_start=<dtml-var next-sequence-start-number>"><br>Next<dtml-var next-sequence-size></a> </dtml-if next-sequence> 2) How can I check if REQUEST[''ids] is not empty when using <dtml-call "manage_delObjects(REQUEST['ids'])"> ? Thanks in advance. Michael
Hi Michael, Please don't post in HTML, it's quite hard to read ;-) Michael Bleijerveld wrote:
1) Instead of using the textlink Next I want to use a button (form) ? How can I establish this ? <dtml-if next-sequence> <a href="<dtml-var URL><dtml-var sequence-query>query_start=<dtml-var next-sequence-start-number>"><br>Next<dtml-var next-sequence-size></a> </dtml-if next-sequence>
<dtml-if next-sequence> <form action="<dtml-var URL"> <input type="submit" value="Next <dtml-var next-sequence-size>"> <input type="hidden" name="query_start" value="<dtml-var next-sequence-start-number>"> </form> </dtml-if>
2) How can I check if REQUEST[''ids] is not empty when using <dtml-call "manage_delObjects(REQUEST['ids'])"> ?
REQUEST.get('ids',[]) cheers, Chris
participants (2)
-
Chris Withers -
Michael Bleijerveld