I'm using PloneFormGen's mailer adapter and noticed it omits hidden or server-side-only fields from the e-mail. How do I save those fields?
Can PloneFormGen's mailer adapter include hidden / server-side-only fields?
182 Views Asked by joeforker At
1
There are 1 best solutions below
Related Questions in PLONE
- Remove all jobs from plone.app.async queue
- How to add view access to members in plone
- Plone Error After Migration: KeyError('language',)
- Exporting data from a .fs file. Plone 3.3.5
- How do I create a plone and volto project
- Manually start plone 6 instance inside docker container
- Plone 6 Volto generate app - Cannot find module 'is-ci'
- Pressing Enter key on input field does not work as expected
- Couldn't find index page for 'ploneconf.site' (maybe misspelled?)
- Python Could not import class
- Finding all views/namespace urls in a Zope3 system?
- Is it possible to add a if condition inside tal:define?
- Buildout - Allow hosts for package download
- Modify or clean form input in zope or plone
- Rename Dexterity object (id) after copy
Related Questions in PLONEFORMGEN
- How do you determine what attributes and methods are available in PloneFormGen
- Plone FormGen Override Subject Line
- Allowing normal users to download PloneFormGen CSV
- UnicodeDecodeError in PloneFormGen after Plone Security patch 20161129
- how to display image uploaded in a submitted form with ploneformgen?
- Error on PloneFormGen 1.7.17
- Key error on plone customscriptadapter [ploneformgen]
- Plone:RedHat Linux Server Plone site client getting stop automatically
- How to create a PloneFormGen validator for file types?
- Returning ploneformgen errors back to restricted users
- How do I redirect PloneFormGen to a page depending on the value in a select variable?
- How do I concatenate 2 Ploneformgen form variables to use in CC Recipient of a Mailer adapter
- Is there any way to attach the current data (as a .csv file) in PloneFormGen to a mailer?
- Removing an active action adapter would result in a KeyError on form submit. Plone 4 PloneFormGen error
- Can the Likert option in PloneFormGen be set to display the questions with the answers when submitted as an email and stored in the data adapter
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Server-side-only fields are excluded from the mailer's body template by this code: https://github.com/smcmahon/Products.PloneFormGen/blob/master/Products/PloneFormGen/content/formMailerAdapter.py#L725
One way to include those values in the e-mail is to include them in the mailer template as
<div tal:content="python:request.form.get('field-name')">field value</div>. If you only need those values in the mailer then it might be just as practical to produce them in the template without going through the form.