Hello,

      - type: Block
        attributes:
           class: submit_container
        elements:
        - type: Submit
          id: submit
          value_loc: Save

        - type: Submit
          value_loc: Cancel
          id: cancel
          name: cancel

x $form->params
0  HASH(0x2d72e6b0)
  'cancel' => HTML::FormFu::Literal=ARRAY(0x2e25e730)
     0  'Cancel'

x $form->param_value('cancel');
0  HTML::FormFu::Literal=ARRAY(0x2e25e730)

In submitted value it's not listed:

.-------------------------------------+--------------------------------------.
| Parameter | Value |
+-------------------------------------+--------------------------------------+
| first_name | Ferruccio | | last_name | Zamuner | | picture | | | profile | test |
'-------------------------------------+--------------------------------------'

if ($form->param_value('cancel')) IS true

$HTML::FormFu::VERSION is 0.04002

While in 0.03007 same expression was false.


Thank you for answer and support.               \fer

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to