Advertisement
Guest User

Untitled

a guest
Jun 18th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Powermail: Prefilling some fields
  2. plugin.tx_powermail_pi1 {  
  3.  
  4.     # prefilling form fields (example)
  5.     prefill {
  6.  
  7.         # fill field uid997 with a static text
  8.         uid1 = TEXT
  9.         uid1.value = example value
  10.        
  11.         # fill field uid998 with date like "Date: 20.01.2009"
  12.         uid2 = TEXT
  13.         uid2.data = date:U
  14.         uid2.strftime = Date: %d.%m.%Y
  15.        
  16.         # fill field uid995 with IP address of the user
  17.         uid3 = TEXT
  18.         uid3.data = getIndpEnv:REMOTE_ADDR
  19.  
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement