hoffcamp
Forum Replies Created
-
The caching is the problem – there is a unique identifier with each generated form, and FM is supposed to only accept this form once. The cache is causing the same identifier to be used with each form. This is a bug, but I won’t be able to get around to fixing this until v2.
First, most of the plugin code is a terrible mess. Congratulations, in all seriousness, for figuring out as much as you did.
You are mostly correct about the validation being client side. The reCAPTCHA though is server side. If it fails, no submission occurs. At least that’s how its supposed to work.
If you are feeling brave you could take a look at ‘types.php’ and ‘types/base.php’, and create a new form type class. The ‘processPost’ method can return ‘false’ to indicate some kind of failure. This is how the reCAPTCHA and others prevent data submission from going forward.
I’m not adding new features to 1.x anymore, since I started on 2.0. Server side validation is on the menu.
Forum: Plugins
In reply to: [Plugins: Form Manager] Conditions not workingIf it seems like the conditions are simply not doing anything, then you are most likely missing a call to wp_footer() in your theme. Check this first. This is the problem 90% of the time.
Otherwise post a link to the form. But please check for wp_footer() first!
Ack – that would take some serious customization to achieve. But let me suggest another way of doing this:
1) Force people to register for the WP site. Go to Settings > General and check ‘Anyone can register’. Find a user registration plugin that suits your needs.
2) For each of the forms, go to the ‘Advanced’ tab in the editor, and set ‘Behavior type’ to ‘Single submission’ (this allows only one submission per user), ‘keep most recent submission’, or ‘user profile’. Each of these will keep only one submission per user in the database.
3) To aggregate submissions, download the CSV for each form, place them all in Excel (or whatever), and align the ‘user’ columns. Then sort by the user column.
I wouldn’t normally give such a lengthy response, but you said it was for school… so good luck!
I’m not sure exactly what you mean. Probably some confusion over my made-up terminology.
Submissions can be published only as their own post, they can’t be appended to the current post. However, you can use the formdata shortcode to publish the data in a table / summary list format. You can mess with the CSS as well.
If you want to publish submissions as posts, go to the Advanced tab in the form editor, under Publish Submitted Data.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Show form only if….Look for a plugin to automatically publish & hide posts based on the date, and have two identical posts, one with the form & one without.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Conditions don't workThomy, you must have found a bug. Try making the conditions from scratch again. If that doesn’t work, it may be the HTML in the labels.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] email doesn't workThe shortcodes for the e-mails are not the same as the normal WP shortcodes. See here for a list.
Go to Forms > Settings > Global E-Mail Notifications, and uncheck ‘send to registered users’.
Do you have a link to the form?
That’s great! I can link to this on the Form Manager page, if you don’t mind. I looked at your code and I don’t see any problems.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Copying a formIn the form editor, look for ‘Insert Saved Form’, at the right of where you click to insert elements. This lets you insert fields from another form.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Submit button locationThere are two ways:
1) Use CSS, either in your theme, or somewhere convenient that won’t get overwritten on an upgrade. The form tag has the class ‘fm-form’.
2) Make a custom form display template, and put the submit button where & how you like it.
Check your theme for a call to ‘wp_footer()’. This might be in the ‘footer.php’ file, but it could be elsewhere. Your theme developer will know.
You would have to write your own Javascript to handle that.