Comments (7)
Ah, that's my mistake not removing them from the mapping of the contact object. Updated for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.1.26"
.
from formie.
Fixed in 2.1.27
from formie.
We already automatically include the pageUri
but as for the pageName
that's a little trickier.
It's not something we can map in the form integration settings without having it map to a Hidden field that you'd populate with the entry's title when rendering the form.
We could maybe scrape it from the referrer's meta title, but I'd rather not add that sort of overhead.
In Formie 3 for Craft 5, you'll be able to use PHP events in a module to add this sort of thing as context variables for the integration, to send along with the payload.
For now, I've added "Page Name" and "Page URI" to the mapping interface where you can handle all this through hidden fields, and populate them in your templates.
Updated for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.1.26"
.
from formie.
For now, I've added "Page Name" and "Page URI" to the mapping interface where you can handle all this through hidden fields, and populate them in your templates.
Excellent. Thank you very much!
from formie.
Hello @engram-design
Checked. Works.
But with this implementation the client gets the following warning in the HubSpot account.
This value wasn't passed to the Contact record. 'pagename' isn't a Contact property.
Looks a bit dirty.
Maybe there is another, more beautiful way to pass the form page title to the context?
from formie.
I still get this warning((.
from formie.
Should have double-checked that, sorry. Updated for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.1.26"
.
from formie.
Related Issues (20)
- Add form as a type to the craft link field type HOT 3
- Add Moneris Payment integration
- Encrypted Field Data Too Long HOT 8
- Error during Form Synchronization with Campaign Plugin: API Error on Newsletter Subscription HOT 2
- Klaviyo integration: only 10 lists shown HOT 2
- fieldInputWrapper: false does not work when used on specific field type in themeConfig HOT 5
- Conflict with Google Maps when using validation Address fields HOT 3
- [3.x] Localization of phone field with country select not possible HOT 5
- Multiple submissions in one multi-page form HOT 9
- Change layout of Entries field (Checkboxes or Radio Buttons)
- LitEmoji causing timeouts over ajax submissions
- Missing the general permission to manage Form Usage HOT 2
- Content security policy (CSP) HOT 3
- [3.x] Duplicating a form with repeater, uses a reference instead of copy HOT 2
- Wrong autocomplete value for telephone HOT 2
- Address fields are suddenly no longer displayed HOT 1
- Error in GQL when trying to query subFieldLabelPosition HOT 1
- [3.x] Importing Formie as a module into JS causes errors for repeater field HOT 4
- [3.x] Form with Repeater field with a file upload field in it has error on submission HOT 3
- Submission Query with custom fields does not change the field handle to uid
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 formie.