Jump to content

Forms Support

Featured Replies

Hey, I have a problem with your plugin. I get these error when doing a select list.

UPDATE `form_fields` form_fields  SET `field_value`='',`field_type`='Select',`field_options`='["SimZOr","Pepper"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=82 
IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054)
#0 /var/www/frog_forums/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array)
#1 /var/www/frog_forums/public_html/system/Patterns/ActiveRecord.php(491): IPS\_Db->update('`form_fields` f...', '`field_value`=?...', 'WHERE field_id=...')
#2 /var/www/frog_forums/public_html/system/Node/Model.php(2014): IPS\Patterns\_ActiveRecord->save()
#3 /var/www/frog_forums/public_html/system/Node/Model.php(2691): IPS\Node\_Model->save()
#4 /var/www/frog_forums/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array)
#5 [internal function]: IPS\Node\_Controller->form()
#6 /var/www/frog_forums/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array)
#7 /var/www/frog_forums/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
#8 /var/www/frog_forums/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute()
#9 /var/www/frog_forums/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute()
#10 /var/www/frog_forums/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#11 {main}

 

  • Replies 662
  • Views 67.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Just released a new update pending approval to fix PHP8 compatibility.

  • Stay tuned for a new update with this included.

  • Michael.J
    Michael.J

    New update released pending approval with a critical bug fix when viewing the Forms list.

Posted Images

  • Author
On 15/03/2017 at 5:33 AM, FadedHazard said:

Hey, I have a problem with your plugin. I get these error when doing a select list.

I've got a few reports of this and looking into it now. If your available to test any possible patches, please PM me.

  • 3 weeks later...

I am also getting the error, including for Radio:

UPDATE `form_fields` form_fields  SET `field_value`='',`field_type`='Radio',`field_options`='["Prefix","Tag"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=78 
IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054)
#0 /home/chronill/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('UPDATE `form_fi...', Array)
#1 /home/chronill/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('form_fields', Array, Array)
#2 [internal function]: IPS\Patterns\_ActiveRecord->save()
#3 /home/chronill/public_html/init.php(448) : eval()'d code(68): call_user_func_array('parent::save', Array)
#4 /home/chronill/public_html/system/Node/Model.php(2015): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save()
#5 /home/chronill/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save()
#6 [internal function]: IPS\Node\_Model->saveForm(Array)
#7 /home/chronill/public_html/init.php(448) : eval()'d code(83): call_user_func_array('parent::saveFor...', Array)
#8 /home/chronill/public_html/system/Node/Controller.php(383): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array)
#9 /home/chronill/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form()
#10 /home/chronill/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
#11 /home/chronill/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute()
#12 /home/chronill/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute()
#13 /home/chronill/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#14 {main}

 

Thanks! Is this likely to be included in the next update?

  • Author
On 12/04/2017 at 2:47 PM, Simon Woods said:

Thanks! Is this likely to be included in the next update?

Yes will be included by default.

Widget support on its way?

  • Author
On 25/04/2017 at 2:08 AM, Trevor Brandt said:

Widget support on its way?

Yes, maybe in the next bug fixing update soon.

  • 4 weeks later...
  • Author
On 22/05/2017 at 9:02 PM, mnewt91 said:

Hey Mike,

Link appears to be broken :(

Manual Patch:

Open applications/form/sources/Form/Field.php

Find:

unset( $form->elements['']['pf_format'] );

Add BELOW:

unset( $form->elements['']['pf_search_type_on_off'] );

Save.

  • 5 weeks later...

UPDATE `form_fields` form_fields  SET `field_pf_allow_attachments`=1,`field_value`='Default fied value',`field_form_id`=2,`field_type`='Text',`field_options`='[]',`field_multiple`=false,`field_required`=true,`field_max_input`=0,`field_input_format`='' WHERE field_id=5 
IPS\Db\Exception: Unknown column 'field_pf_allow_attachments' in 'field list' (1054)
#0 /home/panamyfo/public_html/system/Db/Db.php(990): IPS\_Db->preparedQuery('UPDATE `form_fi...', Array)
#1 /home/panamyfo/public_html/system/Patterns/ActiveRecord.php(492): IPS\_Db->update('form_fields', Array, Array)
#2 [internal function]: IPS\Patterns\_ActiveRecord->save()
#3 /home/panamyfo/public_html/init.php(447) : eval()'d code(120): call_user_func_array('parent::save', Array)
#4 /home/panamyfo/public_html/system/Node/Model.php(2183): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save()
#5 [internal function]: IPS\Node\_Model->save()
#6 /home/panamyfo/public_html/init.php(447) : eval()'d code(990): call_user_func_array('parent::save', Array)
#7 /home/panamyfo/public_html/system/Node/Model.php(2955): IPS\Node\collab_hook_ipsNodeModel->save()
#8 [internal function]: IPS\Node\_Model->saveForm(Array)
#9 /home/panamyfo/public_html/init.php(447) : eval()'d code(83): call_user_func_array('parent::saveFor...', Array)
#10 /home/panamyfo/public_html/system/Node/Controller.php(391): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array)
#11 /home/panamyfo/public_html/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form()
#12 /home/panamyfo/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#13 /home/panamyfo/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute()
#14 /home/panamyfo/public_html/system/Dispatcher/Dispatcher.php(142): IPS\form\modules\admin\form\_forms->execute()
#15 /home/panamyfo/public_html/admin/index.php(13): IPS\_Dispatcher->run()
#16 {main}

  • Author
10 hours ago, kmk said:

UPDATE `form_fields` form_fields  SET `field_pf_allow_attachments`=1,`field_value`='Default fied value',`field_form_id`=2,`field_type`='Text',`field_options`='[]',`field_multiple`=false,`field_required`=true,`field_max_input`=0,`field_input_format`='' WHERE field_id=5 

Try the above patch but add this line as well. What version of IPB4 are you using?

unset( $form->elements['']['pf_allow_attachments'] );

 

2 minutes ago, Mike John said:

Try the above patch but add this line as well. What version of IPB4 are you using?


unset( $form->elements['']['pf_allow_attachments'] );

 

Can you guide me how archive it?

4.2 beta 6

is this mod 4.2 compatible?

  • Author
On 6/25/2017 at 1:38 PM, kmk said:

Can you guide me how archive it?

Open applications/form/sources/Form/Field.php

Find:

unset( $form->elements['']['pf_format'] );

Add BELOW:

unset( $form->elements['']['pf_allow_attachments'] );

Save.

8 hours ago, superj707 said:

is this mod 4.2 compatible?

Apart from the above error reported, I haven't had anymore confirmed issues. But I will be releasing an update for IPB 4.2 that includes some more existing bug fixes.

  • 4 weeks later...
On ‎3‎/‎14‎/‎2017 at 8:33 AM, FadedHazard said:

Hey, I have a problem with your plugin. I get these error when doing a select list.


UPDATE `form_fields` form_fields  SET `field_value`='',`field_type`='Select',`field_options`='["SimZOr","Pepper"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=82 
IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054)
#0 /var/www/frog_forums/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array)
#1 /var/www/frog_forums/public_html/system/Patterns/ActiveRecord.php(491): IPS\_Db->update('`form_fields` f...', '`field_value`=?...', 'WHERE field_id=...')
#2 /var/www/frog_forums/public_html/system/Node/Model.php(2014): IPS\Patterns\_ActiveRecord->save()
#3 /var/www/frog_forums/public_html/system/Node/Model.php(2691): IPS\Node\_Model->save()
#4 /var/www/frog_forums/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array)
#5 [internal function]: IPS\Node\_Controller->form()
#6 /var/www/frog_forums/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array)
#7 /var/www/frog_forums/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
#8 /var/www/frog_forums/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute()
#9 /var/www/frog_forums/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute()
#10 /var/www/frog_forums/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#11 {main}

 

On ‎4‎/‎10‎/‎2017 at 7:15 PM, Simon Woods said:

I am also getting the error, including for Radio:


UPDATE `form_fields` form_fields  SET `field_value`='',`field_type`='Radio',`field_options`='["Prefix","Tag"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=78 
IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054)
#0 /home/chronill/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('UPDATE `form_fi...', Array)
#1 /home/chronill/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('form_fields', Array, Array)
#2 [internal function]: IPS\Patterns\_ActiveRecord->save()
#3 /home/chronill/public_html/init.php(448) : eval()'d code(68): call_user_func_array('parent::save', Array)
#4 /home/chronill/public_html/system/Node/Model.php(2015): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save()
#5 /home/chronill/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save()
#6 [internal function]: IPS\Node\_Model->saveForm(Array)
#7 /home/chronill/public_html/init.php(448) : eval()'d code(83): call_user_func_array('parent::saveFor...', Array)
#8 /home/chronill/public_html/system/Node/Controller.php(383): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array)
#9 /home/chronill/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form()
#10 /home/chronill/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
#11 /home/chronill/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute()
#12 /home/chronill/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute()
#13 /home/chronill/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#14 {main}

 

 

 

On ‎4‎/‎11‎/‎2017 at 4:58 PM, Mike John said:

What was the manual fix for this error?

When I click on the link, the page no longer exists.

 

I found the fix:

https://www.devfuse.com/forums/topic/11577-forms-error/

Edited by GrooveOnBeat

Hello, i want to buy this plugin.

Its possible with this plugin to create custom fields when users creating a support request?

Thanks

  • Author
8 hours ago, modman said:

Its possible with this plugin to create custom fields when users creating a support request?

This app allows custom fields but not sure what you mean by support requests?

  • Author

Forms updated has been updated with the following changes:

  1. Compatibility update for IP.Board 4.2.x.
  2. Support for forms displaying in widgets.
  3. Several more minor bug fixes.
10 hours ago, Mike John said:

This app allows custom fields but not sure what you mean by support requests?

Its possible to create custom fields when a users create a support requests?

Original Ip.Board custom fields are really limited.

Thanks you

  • Author
On 7/25/2017 at 8:35 PM, modman said:

Its possible to create custom fields when a users create a support requests?

Original Ip.Board custom fields are really limited.

Right now it will only support the default IPB 4 custom fields that you see when creating a profile field for example.

  • 3 weeks later...

I'm attempting to test out the forms in widgets and the block is not appearing in the block manager for me to choose it. Weirdly, it appears in the list when creating a custom block from a plugin.

System logs threw this up:

Template store key: template_21_cf26a6e403c332934cdd22fea1e7c649_widgets missing (form, front, widgets)

#0 /var/www/html/r266536/system/Theme/Theme.php(785): IPS\_Log::log('Template store ...', 'template_store_...')
#1 /var/www/html/r266536/system/Widget/Widget.php(122): IPS\_Theme->getTemplate('widgets', 'form', 'front')
#2 /var/www/html/r266536/applications/form/widgets/formForm.php(44): IPS\_Widget->init()
#3 /var/www/html/r266536/system/Widget/Widget.php(103): IPS\form\widgets\_formForm->init()
#4 /var/www/html/r266536/system/Widget/Widget.php(295): IPS\_Widget->__construct('59910d600a2a6', Array, '["sidebar","cms...', NULL)
#5 /var/www/html/r266536/applications/core/modules/front/system/widgets.php(71): IPS\_Widget::load(Object(IPS\form\Application), 'formForm', '59910d600a2a6', Array, '["sidebar","cms...', NULL)
#6 /var/www/html/r266536/system/Dispatcher/Controller.php(85): IPS\core\modules\front\system\_widgets->getBlockList()
#7 /var/www/html/r266536/applications/core/modules/front/system/widgets.php(38): IPS\Dispatcher\_Controller->execute()
#8 /var/www/html/r266536/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\front\system\_widgets->execute()
#9 /var/www/html/r266536/index.php(12): IPS\_Dispatcher->run()
#10 {main}

 

Edited by Simon Woods

  • Author
On 8/14/2017 at 0:41 PM, Simon Woods said:

I'm attempting to test out the forms in widgets and the block is not appearing in the block manager for me to choose it. Weirdly, it appears in the list when creating a custom block from a plugin.

What page are you originally trying to add a form widget to? A forum area or something within the Pages app?

5 hours ago, Mike John said:

What page are you originally trying to add a form widget to? A forum area or something within the Pages app?

Initially it was the board index but I just tried within Pages and in a forum area, where it also isn't appearing.

  • Author
15 hours ago, Simon Woods said:

Initially it was the board index but I just tried within Pages and in a forum area, where it also isn't appearing.

I don't seem to be able to reproduce this in the forums or pages app. Can you reproduce this with the default "Contact Form" or do you have a customized form? If the later, if I could get acp login details. I'll try and reproduce this with your exact setup.

VME9ALe.png

Recently Browsing 0

  • No registered users viewing this page.