Hi guys. I have a question.
Have you ever implemented PHP in Forms?
If your answer is YES, How did you do it?
Hi guys. I have a question.
Have you ever implemented PHP in Forms?
If your answer is YES, How did you do it?
PHP code runs on the server-side, so I'm not sure how you would combine the two. What do you imagine a solution looking like?
I would like to implement PHP in LF Forms to make connections directly to SQL Server and make a portal consult information.
Hey Alfredo
Laserfiche forms has data sources out the gate you can use to populate your forms with data. Other than that you would have to develop your PHP backend as a API/Web Service you can query and use Javascript to query your API. I would definitely recommend using the Data Sources in Forms over that method though because that is baked into Laserfiche Forms.
If you are looking for more of a Workflow route, my team developed a Workflow Web Services client in PHP last year that can be used for starting Workflows through PHP, we also have one available that works in Go. We are self hosted, so not sure how these would translate to cloud hosting, but they are available for download here.
https://github.com/CabarrusCo/Laserfiche-Workflow-PHP-Client
https://github.com/CabarrusCo/lfwfapi