Changelog
1.0.3 - 2024-06-22
Added
- Global callback function to show, hide, toggle modal dialog with form, example:
var formId = 'clhqpufuy0001wnf3dnltnz801';
// toggle modal: if shown, it'll be hidden, if hidden, it would be shown
window.CustomGForm.toggleModal(formId);
// show modal
window.CustomGForm.showModal(formId);
// close modal
window.CustomGForm.closeModal(formId);
- New options:
- data-button_class prop, which allows to add custom Button class name
- data-prefill_fields - here you can pass fields which should be prefilled, separated by semicolon. Example:
<!-- Format: id=value; where id is field id, value any text value --> data-prefill_fields="261034186=test;1841579133=comments,fd;[email protected]"
- Typescript support for our react library https://www.npmjs.com/package/@customgform-lib/react-customgform (opens in a new tab)
Changed
- popup mode: hide button if there is no label
Fixed
- popup mode: conflicted styles with button, which trigger modal dialog show/hide
- fix google form title
1.0.2 - 2024-03-27
Added
- Custom theme font support (based on Google fonts)
- Support for multistep forms
1.0.1 - 2024-03-06
Added
- Short answer, Paragraph validators:
- Number:
- greater than
- greater than or equal to
- less than
- less than or equal to
- equal to
- not equal to
- between
- not between
- is number
- Text
- contains
- doesn't contain
- url
- Length
- maximum character count
- mininmum character count
- Regular expression
- contains
- doesn't contain
- matches
- doesn't match
- Number:
- Tags support for questions title and description
1.0.0 - 2024-03-02
Added
- Time input
- Date with time
- Support for HTML tags in form description
- Changelog page
Fixed
- Reduce input width for Date and Time fields