Jump to content

this array creates a form...


ballhogjoni

Recommended Posts

I am working on a site that has a php array that dynamically creates a html form. I was wondering if anyone has heard of doing this and if they know what I can do to add some radio iputs?

var $col = array(
      'id' => array(
          'type'  => 'int',
          'size'  => 11,
          'qf_type'  => 'hidden'
      ),

      'sfs_id' => array(
          'type'  => 'int',
          'size'  => 11,
          'qf_type'  => 'hidden'
      ),
      'vip_special' => array(
        'type' => 'boolean',
        'qf_label' => 'Show as VIP Special'
      ),
      
  'dont_show_on_main_list' => array(
        'type' => 'boolean',
        'qf_label' => 'Dont Display On Main List'
      ),

Link to comment
https://forums.phpfreaks.com/topic/127590-this-array-creates-a-form/
Share on other sites

I have search this site, does anyone know how to make db_table format radio buttons?

 

this is what it says to do, but is not working:

'main_featured' => array(

        'qf_type' => 'radio',

        'qf_label' => 'Gold Featured <font size="1">(gold background)</font>'

      ),

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.