How do I reuse form Data from the user input with ReportLab Python

Viewed 37

I've been writing a simple contract form and using Reportlab's python API to grab user input. I'm stuck figuring out the syntax to reuse the form data that the user input. For example, here's the snippet of code for a form where the user would input the client's name;

form.textfield(name='clientname', tooltip='Client Name',
               x=282, y=746, borderStyle='inset',
               borderColor=black, fillColor=yellow, 
               width=70, height=12,
               textColor=black, forceBorder=True)

So after the user input's the client's name, how do I go about reusing that later on in the contract instead of the user inputting the same name over and over. I'm assuming the text value is stored with the attribute "clientname"

0 Answers
Related