You are viewing limited content. For full access, please sign in.

Question

Question

To use PHP in LF Forms

asked on August 17, 2021

Hi guys. I have a question.

Have you ever implemented PHP in Forms?

If your answer is YES, How did you do it?

0 0

Replies

replied on August 18, 2021

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?

0 0
replied on August 20, 2021

I would like to implement PHP in LF Forms to make connections directly to SQL Server and make a portal consult information.

0 0
replied on August 20, 2021 Show version history

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

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.