Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8151989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:34:33+00:00 2026-06-06T15:34:33+00:00

I made a form so that users can register their email address for a

  • 0

I made a form so that users can register their email address for a contest. Im using a powermail form and someone told me to use dbEntry to do this, but im not sure how to do it. This is my code so far:

plugin.tx_powermail_pi1{
    dbEntry{

        tt_address._enable = TEXT
        tt_address._enable.value = 1

        tt_address.email = TEXT
        tt_address.email.value = ????
    }

    debug.output = all
}​

Ive been told to activate _enable to enable the data insertion. But now I dont know how to access the field value of the form. I probably should use the template id, which is ###UID71###, but I have no idea how.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:34:35+00:00Added an answer on June 6, 2026 at 3:34 pm

    According to the official documentation, you can do it this way:

    plugin.tx_powermail.settings.setup {
        dbEntry {
            # enable or disable db entry for tt_address
            tt_address._enable = TEXT
            tt_address._enable.value = 1
    
            # write only if field email is not yet filled with current value
            # (update: update values of existing entry)
            # (none: no entry if field is filled)
            # (disable: always add values don't care about existing values)
            tt_address._ifUnique.email = update
    
            # fill table "tt_address" with field "pid" with the current pid (e.g. 12)
            tt_address.pid = TEXT
            tt_address.pid.data = TSFE:id
    
            # fill table "tt_address" with field "tstamp" with the current time as timestamp (like 123456789)
            tt_address.tstamp = TEXT
            tt_address.tstamp.data = date:U
    
            # fill table "tt_address" with field "name" with the value from powermail {firstname}
            tt_address.name = TEXT
            tt_address.name.field = firstname
    
            ...
        }
    }
    

    I also found an (older) forum post (in German) with examples that use data from the user session:

    # table "tt_address" with field "last_name" is the value from powermail (tt_content uid 88) field uid18 (###uid18###)
    tt_address.last_name = TEXT
    tt_address.last_name.data = TSFE:fe_user|sesData|powermail_88|uid18
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I made a form script so that I can always use that if I
I have a dynamic form that adds users to the site, made so you
I have started using jQuery and rails. I have made a simple form that
I made a .NET Windows form that allows users to view a particular document
I have made an normal form that you can enter a user´s fullname in
I have an upload form where users can upload images that are currently being
Its a simple login form that I have made using Classic ASP, where the
I have made a form that accepts query and executes it through php. I
In my iOS application I have made a form that should submit data into
I made a form class in c# that has a devexpress grid, a label

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.