• Resolved christiaanvaken

    (@christiaanvaken)


    I have created a lot of forms with text fields which are not input fields. When I display the summary it only shows the input fields. Is there a way to show a summary with all fields?

    I saw that the form is stored in JSON in the database. Maybe I can use PHP to get this?

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

    (@codepeople)

    Hello @christiaanvaken

    If you are talking about the summary in the thank you page after submit the form, you can insert the fields by separated, instead of the <%INFO%> tag.

    For example, assuming that the “Instruct. Text” field is the fieldname1, and you want to display this field in bold, as the labels of fields: fieldname2 and fieldname3 with their values in italic, you can insert the shortcode for the results in the thank you page as follows:

    
    [CP_CALCULATED_FIELDS_RESULT]
    <p><b><%fieldname1%></b></p>
    <p><b><%fieldname2_label%></b>: <i><%fieldname2_value%></i></p>
    <p><b><%fieldname3_label%></b>: <i><%fieldname3_value%></i></p>
    [/CP_CALCULATED_FIELDS_RESULT]
    

    Best regards.

    Thread Starter christiaanvaken

    (@christiaanvaken)

    I know of that possibility, but it is a lot of work to do this if you have a lot of fields and forms.

    Plugin Author codepeople

    (@codepeople)

    Hello @christiaanvaken

    Yes, I know, but the textual fields (like the “Instruct Text”, “Media Fields”, “Section Breaks”, “Page Breaks”, “HTML Content”, “DIV” …) are not sent when the form is submitted (it is not a limitation of the plugin, simply the HTML Standard only submit the SELECT, INPUT, TEXTAREA, CHECKBOX, …. tags), so, there is no way the plugin can know if these textual fields should be included in the thank you page or not, so, it is required to include the fields’ tags explicitly.

    Best regards.

    Thread Starter christiaanvaken

    (@christiaanvaken)

    Okay thanks. Can I use the same to edit a submission, instead of editing it in the backend? We want someone to check and maybe edit the submission before we change the state to ‘Paid’.

    Plugin Author codepeople

    (@codepeople)

    Hello @christiaanvaken

    The submissions can be edited in the backend from the “Messages” section corresponding to the form, pressing the “Edit” button corresponding to the form’s submission.’

    If you want the users can edit their own submissions, would be required to use the “Users Permissions add-on”, distributed with the Developer and Platinum versions, and configure the forms to be submitted by the registered users, and use the [CP_CALCULATED_FIELDS_USER_SUBMISSIONS_LIST] shortcode to allow the users access to their submissions. More information visiting the following links:

    https://cff.dwbooster.com/add-ons/users-permissions
    https://cff.dwbooster.com/documentation#users-addon

    Best regards.

    Thread Starter christiaanvaken

    (@christiaanvaken)

    Never mind, already got it!

    I have an additional question. The above works, but I want to use that with a submission ID instead of a form ID, is that possible?

    Plugin Author codepeople

    (@codepeople)

    Hello @christiaanvaken,

    As I guess you want the user can submit the form only once, but edit the collected information if he want. In this case, you simply should tick the checkbox: “The form can be submitted only once per user” in the “Users Permissions” section of form’s settings.

    I’m sorry, but if you have any other question about the commercial version of the plugin you should to create a ticket in my private website:

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

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Custom summary page’ is closed to new replies.