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

Question

Question

How to code "Add, Edit, Delete" buttons in Laserfiche Forms

asked on October 8, 2024

I am automating a business process that records data inputted using a transmittal form.

In one transaction, there are several instances of data input. First instance, you input data and  click on the "add" button to save the data to the database. Before I input another data, I want to clear these fields (where data is inputted) in the Laserfiche Form. 

The "Edit" button allows users to make revisions in the inputted fields. These inputted fields are "looked up" in the database and displayed back in the Form as editable fields.

The "delete" button will delete an entire instance in the database.

-----
How do I code these buttons add, edit, and delete in Laserfiche Forms?

Thank you smiley

0 0

Replies

replied on March 20

First instance, you input data and  click on the "add" button to save the data to the database. Before I input another data, I want to clear these fields (where data is inputted) in the Laserfiche Form. 

That won't work. You have to submit the form to initiate the workflow activity that will add data to SQL. I get around this by having a collection containing a radio dropdown "Action" column that contains the values "None" (Default), "Add/Update", and "Delete". The remaining columns containing your lookup data will be required/editable based upon what they select as the action. The workflow will handle the rest, using a "For Each Row" of the collection.

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

Sign in to reply to this post.