Comments (9)
@marcbelletre thank you 🥳🥳🥳
from acf-rrule.
What do you mean? The only required field is the start date. We can't make it optional otherwise the plugin can't work.
from acf-rrule.
yes, because I have an event that will not have recurring dates. can it be done if the start date is set up then the plugin will work?
from acf-rrule.
Oh okay I see. I'll have a look at it tomorrow. In the meantime you can add conditional logic on your RRule field based on a true/false field. This will bypass the validation.
from acf-rrule.
I already done this but it won't submit or publish the post
from acf-rrule.
I just tested out and it can confirm that it works. What version of ACF and ACF RRule are you using?
Here the validation fails when I check the box and leave the field empty:
But it works when I uncheck it:
from acf-rrule.
ACF PRo : Version 5.9.9
RRule : Version 1.2.1
this is what you mean right?
from acf-rrule.
Try it on custom post type without a content/editor field
from acf-rrule.
Hi @ellemaker,
I just released a new version with improved validation. This includes the possibility to disable required fields as requested. If you don't make RRule field as required then nothing will be saved unless you specify a start date.
from acf-rrule.
Related Issues (20)
- UI doesn't reflect saved value HOT 5
- end type: count, no end date? HOT 2
- Arrays returned as string HOT 2
- Selected Month Days aren't reflected in the calendar HOT 4
- Translation error HOT 1
- start_time field not working HOT 3
- End date becomes one day earlier after saving post. HOT 5
- Critical error when date fields are set but weekdays are not selected on drafts HOT 7
- Issue with DTEND HOT 2
- Repeat events on front end HOT 5
- Field not showing after 1.4 update HOT 3
- Timezone support
- Javscript Error when attaching to a Gutenberg Custom Post Type HOT 2
- Plugin dependencies
- Additional Validation Needed HOT 3
- [i18n] Textdomain doesn't match the plugin slug
- Deprecate Recurr in favor of php-rrule HOT 3
- Option for Monthly Recurrence on Multiple Days of the Week HOT 9
- On save error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf-rrule.