Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: checkbox problem

by benn (Priest)
on Aug 21, 2003 at 10:17 UTC ( #285411=note: print w/ replies, xml ) Need Help??


in reply to checkbox problem

Are you just looking for hidden fields? Something like...

<td> <input type="checkbox" name="Identifier" value="1">%s <input type='hidden' name='phase' value='%s'> <input type='hidden' name='server' value='%s'> <input type='hidden' name='state' value='%s'> # etc. </td> <td>%s</td><td>%s</td><td>%s</td> ... identifier phase server state phase server state
Cheers, Ben.


Comment on Re: checkbox problem
Download Code
Re: Re: checkbox problem
by bory (Beadle) on Aug 21, 2003 at 10:42 UTC
    But in this way the filds doesn`t appear in the first table!I want them to appear in the first table, to select them and send them to the second table! Thank you very much
      In my example, I showed the fieldnames at the end printed twice, so as to include them twice in the replacement string (once as a hidden value, once in the table cell). I guess this is some form of printf, so that should be valid.

      If not, and you're tied down to the implementation of this using the interface described (as opposed to writing a script that reads the results of your 'findbug' progam into a bunch of variables), then you'll need to find some other way of passing / displaying the fields at the same time - maybe as a (non-editable?) text-box or something.

      Cheers, Ben.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://285411]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-10-25 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls