Disable form after certain # of entries per other entry

By: Will J | Asked: 07/30/2023
ForumsCategory: General questionsDisable form after certain # of entries per other entry
Will J asked 10 months ago
I have form A entries to which form B can submit follow up entries. I've filtered form B by [get param=entry] and it works to pull only the entries pertaining to the original form A entry. BUT I would like to disable form B after 5 entries of each entry of form A. I can't limit the form entries to 5 in the build cuz it cuts off after 5 combined for all entries (entry Aa has 3 entries, Ab has 2, then Ac gets none). I've limited entries to 5 in the view and it does only show 5 for each A entry, but the form is still available for more. [entry_count] does accurately show the # of entries for each follow up, so I figured I could use a conditional statement for that, but what I've tried doesn't seem to want to work. Can you use an if statement for entry_count? If no, any advise?
1 Answers
Victor Font answered 10 months ago

I'm not sure I fully understand your question, but if the entry count shortcode doesn't work, you may want to write your own shortcode so you can count individual entries by form. Since you don't mention anything about users, counting form entries is a relatively straight forward process. If you need a developer's help, please visit: https://formidable-masterminds.com/developers-directory/.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right