Customized CAP

If you need a customized CAP, where some fields are still prefilled, can use following parameters to transfer them to the PDF printout. Empty Fields will be left blank. To connect two textstrings for a parameter, you have to use '+' in between.

Field

Sample

Details

name

Peter Pan

Assuree's name

dob

1977-12-23

DoB of Assuree

email

blah%40example.org

Email of Assuree. %40 is the coding for char @. (still works with @)

assurer

Susi Meier

Name of Assurer

location

Winchester Street 10

Location of Assurance

maxpoints

35

max Assurance Points Assurer can give (default: 35)

date

2005-06-21

Date of Face-2-Face meeting and Assurance ('now' for current date)

lang

de

Sets the printout language
2 lower characters ISO language code -> de, en, fr, ..

format

A4

{A4, letter} An empty field defaults to 'A4'

Addtl. parameters out of source code

document1

Id Doc #1

Id documents field #1

document2

Id Doc #2

Id documents field #2

Sample-URL:

https://www.cacert.org/cap.php?name=Fred+Smith&dob=1970-01-01&email=fred%40example.com&assurer=Joe+Blogs&maxpoints=35&date=now&lang=de&format=letter

New (Teus) CAP form:

https://www.cacert.org/capnew.php?name=Fred+Smith&dob=1970-01-01&email=fred%40example.com&assurer=Joe+Blogs&maxpoints=35&date=now&lang=de&format=A4

Read also


Assurance/CustomizedCAP (last edited 2014-06-20 16:34:27 by EtienneRuedin)