Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    No, but it is on the “to do” list.

    Thread Starter sailpilot

    (@sailpilot)

    When do you think that may be available?

    Is there a way to limit the output to a fixed number of rows similar to the option that exists for the Admin display?

    also I think there may be a little bug in the code. I noticed that if I fill out a form and click on the send button it clears the fields and displays a message that the entry was sent. But if I click on the browser page refresh it writes another row into the database with the same info that was already sent.

    One more suggestion for the “to do list” :-). Add an option to allow for DB write only without actually sending an email, or maybe this has to be done in the Contact 7 code. This would be great if you want to gather information only.

    Plugin Author Michael Simpson

    (@msimpson)

    1. Note that there is a “limit” option for all the shortcodes already. Check the limit documentation.

    2. I think that bug is caused by the browser refresh re-posting the form. So the plugin does not know that this was not intended to be posted.

    3. What I really need is a better hook from CF7 where I can hook in the code to capture the data. I have to use one related to when mail is about to be sent. But if they put in a better one and allow you to disable mail that it would work OK. But I don’t think CF7 was coded in a way that would expect anyone to ever not do email since that is the only way to report the form submission in that plugin.

    Thread Starter sailpilot

    (@sailpilot)

    Thanks. I didn’t catch the limit option for the shortcodes. That seems to work for now until a scroll bar or next option is available.

    On the second item, is there a way to clear all data from the fields you are using once the record is written to the DB so that even if a refresh is done the data is already cleared?

    We need a form that writes to the DB and provides a display of the data entered. Our requirement is not for a form submission by email. The Contact 7 form and your extension plugin are the closest thing I could find that provides this functionality.

    Plugin Author Michael Simpson

    (@msimpson)

    Second item: that is an issue regarding the form and the browser. You might want to ask on the CF7 support page.

    Fast Secure Contact Form is an alternative to CF7 you can look at. My plugin will capture data from it as well.

    Thread Starter sailpilot

    (@sailpilot)

    one more question ??

    Where is the formatting of the shortcode display?

    I would like to change the font size and may be the color of the fields displayed on the non-admin page.

    I checked the CSS files but couldn’t find it.

    thanks

    Plugin Author Michael Simpson

    (@msimpson)

    Thread Starter sailpilot

    (@sailpilot)

    thanks appreciate your help.

    Hi,

    I have few questions and I do hope you can lend me a hand. I need to have an auto generated code that increment (RAS0001, RAS0002…) but I do not know how to do it.

    Secondly, after it has been submitted to the database, it will be redirected to another page. There will be a button that when you click it, it can preview what you have submitted.

    Lastly, I need a search field where they can enter the code and have the data displayed. It seems everything is being shown when I tried it. I do hope you can help me on this.

    Thanks

    Plugin Author Michael Simpson

    (@msimpson)

    You could write some javascript to populate a hidden field in your form with an auto-increment number. Or use the submit time in the plugin’s table since it is a unique value for each submission.

    Refer to Filter Variable Substitution and have a look at how to set a filter variable on a short code via an HTTP GET or POST parameter. You can create a form that posts to a page with a shortcode that takes filter values from what is posted.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Contact Form 7 to Database Extension] scroll bar for shortcode displays’ is closed to new replies.