• Resolved WeDev.Africa

    (@mad2kx)


    Hey,

    me again ??

    I have a question regarding the display of the submission in WP Backend. At the moment and for some reason the additional rows in the submissions page are sort of depending on the next fields added into the forms.

    For example: Standard form says Name/Surname/E-Mail. In my setup I want the user to create a username and some additional information like company name, city etc. Now the submissions view shows the exact field which I have added into the forms after Name/Surname/E-Mail. Since the Multistep Form requires some personal data first and then the next tab requires the business information I would like to achieve the following view in my submissions view in wp-admin:

    Name
    Surname
    E-Mail
    Business

    Irrespective of the setup in the forms editor. How is this possible?
    ==============
    I also want to achieve that the user has an option to manually add fields into the submission form where they can add predefined rows.
    For example: I set up predefined fields like Name, Surname and some options buttons and the user can click on “add new” and the same fields appear again. This should be repeatable maximum 3 times. The fields are already predefined through ACF.

    Is this possible?
    ===============
    Similar to the above: I have a dropdown box with different topics like “Plumber” or “Electrician” Now once the user clicks on the respective field in the dropdown a textfield must show up whereby the user can add some values. However they should be able to “add a new row” with the same values and when they click on “electrician” a new textfields pop up and the user can add a value.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Hi there,

    Thank you for contacting us. Regarding your first question, We already have a filter to change the columns in admin submission view. Here is an example:

    add_filter(‘erf_submission_25_table_columns’,’submission_columns’); // here 25 is the form id

    /*
    Here key corresponds to submission column and value represents table column name
    */
    function submission_columns($columns){
    return array(‘User Email’=>’User Email’,’Username’=>’Username’,’Sec Email’=>’Sec Email’,’Hobbies’=>’Hobbies’,’File Upload’=>’File Upload’);
    }

    Make sure to add above code (With your form ID) in theme’s functions.php. Also please keep column labels same as the field labels (Even the casing).

    Regarding your other two queries, I suggest you to write us on https://www.easyregistrationforms.com/support/, It would help us to better understand your requirements and we will be able to implement for general users.

    Thread Starter WeDev.Africa

    (@mad2kx)

    Hi,
    thanks it is working. But how to include the Unique Submission ID?

    Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Hi,

    Now you can use the Unique Submission ID. Here is the format:

    function submission_columns($columns){
    return array(‘User Email’=>’User Email’,’Username’=>’Username’,’Sec Email’=>’Sec Email’,’Hobbies’=>’Hobbies’,’File Upload’=>’File Upload’,’Unique ID’=>’Unique ID’);
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Settings/request’ is closed to new replies.