BUG 10054 Feature request: grid to support a suggest field SOLVED
- Add the possibility to insert Suggest fields in a grid. - New Feature, was added Suggest option to the grid.
This commit is contained in:
@@ -47,9 +47,16 @@ switch (basename( $form->template, '.html' )) {
|
||||
default:
|
||||
$template = 'xmlform';
|
||||
}
|
||||
$G_PUBLISH->AddContent( 'dynaform', $template, $file, '', array ('__DYNAFORM_OPTIONS' => array ('PREVIOUS_STEP' => '#','NEXT_STEP' => '#','PREVIOUS_ACTION' => 'return false;','NEXT_ACTION' => 'return false;'
|
||||
)
|
||||
), '' );
|
||||
$G_PUBLISH->AddContent(
|
||||
'dynaform',
|
||||
$template,
|
||||
$file,
|
||||
'',
|
||||
array ('__DYNAFORM_OPTIONS' =>
|
||||
array ('PREVIOUS_STEP' => '#','NEXT_STEP' => '#','PREVIOUS_ACTION' => 'return false;','NEXT_ACTION' => 'return false;')
|
||||
),
|
||||
''
|
||||
);
|
||||
G::RenderPage( 'publish', 'raw' );
|
||||
|
||||
/* $toolbar = new ToolBar( '/dynaforms/dynaforms_Toolbar' , PATH_XMLFORM, SYS_LANG, false );
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
<!--<password type="toolButton" onclick="fieldsAdd('password')" file="images/dynamicForm/password.gif" fileAlt="images/dynamicForm/hover.gif" home="public_html" style="height:18px;width:18px;" buttonType="html">
|
||||
<en><![CDATA[<div class="ss_sprite button_toolbar ss_textfield_key" title="Password"></div>]]></en>
|
||||
</password>-->
|
||||
<suggest type="toolButton" class="ss_sprite button_toolbar ss_lightbulb" onclick="fieldsAdd('suggest')" buttonType="class">
|
||||
<en>Suggest</en>
|
||||
</suggest>
|
||||
<textarea type="toolButton" class="ss_sprite button_toolbar ss_textarea" onclick="fieldsAdd('textarea')" buttonType="class">
|
||||
<en>TextArea</en>
|
||||
</textarea>
|
||||
|
||||
Reference in New Issue
Block a user