• Resolved slandoulsi

    (@slandoulsi)


    Hello,

    I’m using the user add-on.

    I have the following new old problem. I say new old because I already had it and it disappeared and now it is back again and I don’t know where it comes from.

    After form submition, dependancies does not apply anymore at form loading. Let’s say for instance field286 is supposed to show field572 if equal “Bien” and field573 if equal “Service”. Field286 default value is “Bien”. If form has been submitted with field1 value equal “Service”, it is not field573 that will show up, but field572.

    Please use the following for testing
    https://www.dafteam.tn
    usertest
    $Usertest123456

    Then go to Mes Business Plan and pswd dafteam123456

    Thanks again for your help

    Best regards,
    SkL

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @slandoulsi,

    What version number of the plugin are you using?

    In the latest version of the plugin were included some modifications in the “Users Permissions” add-on, and with the default values of fields in the form.

    Furthermore, if you want load the form with the data submitted previously by the user, be sure you have ticked the option to allow the user submit the form only one time, or the form will load the default values of fields as a new instance.

    Best regards.

    Thread Starter slandoulsi

    (@slandoulsi)

    Hello

    Thanks for your quick reply.

    I use the lastest version but I already had this problem with the 4th version before this one.

    The option “form can be submited only one time” was untick. I didn’t realize the meaning of this option. So I just ticked it and immediatly saved the form. I got this message :

    “The data cannot be stored in database because has occurred an error with the form structure. Please, try to save the data again. If have been copied and pasted data from external text editors, the data can contain invalid characters. If the issue persist, please contact us”

    The option “submit the form only one time by user” was ticked despite the error but the dependencies still does not work.

    But please note that I moved to the latest version just before sending you my first email on this topic. So I was saving the form for the very first time with version 179.

    This error message is not new to me : just before moving to version 179, I couldn’t almost add any new field without getting it. In my opinion the fact that you added a new option to submit either value or text for radio, dropdown list made form_structure even longer than what it was. And this made the system crash.

    I understand that I’m certainly pushing too far with my huge number of fields but I would greatly appreciate if you can provide any advice to solve this capacity issue.

    Best Regards
    skander

    Plugin Author codepeople

    (@codepeople)

    Hello,

    I guess the issue can be related with the structure of database, in the previous versions of the plugin, we’ve been using “text” as the data type for the form’s structure column, and in the new versions we’re using “mediumtext” type, but if you have installed the plugin previous to this change, you should modify the database columns to “mediumtext” through the database management system in your hosting (for example the phpmyadmin).

    If you prefer, I can check your form, but I need you create a ticket in my private support system, and send me the access to your WordPress:

    https://cff.dwbooster.com/contact-us

    Best regards.

    Plugin Author codepeople

    (@codepeople)

    The issue was related with the server settings, and it was solved through the private support service.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Field dependancies does not apply after submition’ is closed to new replies.