Hi,
I want to know how to replace variables of RTF file using PHP language.
I have HotDocs created document where variables are like this.
And also conditions like this:
Do I have to create something like compiler?
I want to know how to replace variables of RTF file using PHP language.
I have HotDocs created document where variables are like this.
Code:
Name: «demo_Last name» «demo_First name» DOB: «demo_DOB» SSN: «demo_SSN» Country: «Country Name» (Variables may include spaces.)
Code:
«IF XYZ = "Some String"» DRE I«ELSE IF XYZ = "Some other string"» DRE II «ELSE IF XYZ = "else string"»DRE III«END IF» «IF PQR = "1"» DRE I «ELSE IF PQR = "2"»DRE IV«ELSE IF PQR = "2" AND XYZ = "Some String"» Response«END IF»
Comment