Monday, November 28, 2011

Latest update - Form code

The form code is going through a rewrite this week... latest developments include:

  • New Element (completed) - AutoComplete - uses "james" to create an AJAX auto-complete text area:
$form->add( 'AutoComplete', 'name' )
->set_url('/action/GetGeneNames');
  • New Element (in development) - DropDownAndString - to allow for a drop down OR other option;
  • Additions of "groups" within sections - to allow for more complex layouts of form elements (rather than the single column), e.g. 2 col, 3 col (and eventually tab panels):
$form->add_section( 'test_section' );
$form->add_group( 'gp1', 'col12' );
$form->add_group( 'col1', 'col1', 'gp1' );
$form->add( 'Text', 'test_1' );
$form->add_group( 'col2', 'col2', 'gp1' );
$form->add( 'Text', 'test_2' );
$form->add_group( 'col3', 'col3' );
$form->add( 'Text', 'test_3' );
  • Fixed bug with "optional" entry validation


No comments:

Post a Comment

Note: only a member of this blog may post a comment.