Comments (7)
Hello @ben-doyle,
For point number 2, We have already settings in the form object to help you achieve that.
Here is the form object type:
type FormObj = {
blocks: FormBlocks;
themesList?: Theme[];
theme?: Partial< FormTheme >;
messages?: Partial< FormMessages >;
logic?: FormLogic;
settings?: {
disableProgressBar?: boolean;
disableWheelSwiping?: boolean;
disableNavigationArrows?: boolean;
animationDirection?: 'vertical' | 'horizontal';
showQuestionsNumbers?: boolean;
showLettersOnAnswers?: boolean;
};
}
from quillforms.
I have the same problem at point 1, prev(), submit() are very usefull but is not posible to handle those events,if you could provide them will be nice.
I need full navigation control over my form because I need to know the path in every direction I move on the form to deterine if the block should be rendered or not. Without the goPrev or prev() event it is not posible to control that.
Please, could you expose those events?
Thanks!
from quillforms.
I would like to trigger some actions on the event a user goes back as well, it would be neat to have this exposed!
from quillforms.
Hello @ben-doyle @animalillo @antoniojlm84 ,
Thanks for this feedback.
I have introduced a useful hook to expose the entire api for the renderer store.
Please view this doc and let me know your feedback
Please update the following packages:
"@quillforms/react-renderer-utils": "5.7.2",
"@quillforms/renderer-core": "5.5.0"
from quillforms.
Thanks @mdmag for your improvement and expose all these new functions. Everything works as expected.
But in my case I miss a beforeGoingPrev prop to take full control over the navigation of the form.
Is there any hook or event or way to control this event when I fire goPrev() or I click on the back arrow button/scroll up the wheel of mouse?
from quillforms.
Hello @animalillo,
Please let me know your use case so I can guide you if possible?
from quillforms.
@animalillo how does goNext()
work with beforeGoingNext
? goNext()
appears to skip my validation logic.
from quillforms.
Related Issues (20)
- Are rating questions available in react?
- Malware found in QuillForms javascript file. HOT 3
- Cookie answers truncated HOT 1
- Feature Request: Get pertial form filling analytics HOT 1
- Feature Request: Posthog Analytics Integration HOT 1
- Dynamic Rendering Fails with NextJS
- Inquiry Regarding Jump Logic Implementation (applyLogic) HOT 4
- conflict Next 14 / React 18 & @quillforms/renderer-core HOT 4
- Enabling Recaptcha (both v2 and v3) throws exception HOT 1
- Option key label shrinking on long option text
- Button or other elements not clickable when behind the progress indicator footer
- Error message not showing HOT 1
- The colors of the correct/incorrect banner for quizzes are not customizable HOT 1
- Source code for demos HOT 1
- Multiple questions in group on smartphone
- On Page load, Enter does not work
- Navigation and Submission Issues When Using ENTER Key HOT 2
- Complete form early HOT 1
- Inconsistent Block IDs for InnerBlocks
- Stop from auto sliding to the next question HOT 1
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 quillforms.