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

Discussion

Discussion

Javascript Capability to append values to fields

posted on April 5, 2024

Hi all, 

 

I've updated to the latest version of Forms 11 and am excited to try a few things.

Just wanted to see if this was possible first, but I'd like to use Javasrcript to append the value from a comment box to a field while keeping its current value, (and adding a datestamp).

I currently do this with workflow but using this as an excercise to get into Javascript for LF and understand its possible capabilities.

Is this something you would try and use Javascript for. I'm trying to make a comments history. During form re-submission.

Thanks

 

0 0
replied on April 7, 2024

Thanks for the info Jason, 

 

Good to know its possible. I'm on the modern designer I'll give it a crack. 

Good tip on the table! 

 

 

0 0
replied on April 5, 2024

If you're trying to do a comment history, I would consider doing it with a field inside of a collection or table so each one could be a separate row/entry. That would also give you the option of using an actual datetime field for the timestamp.

The JavaScript is going to look very different depending on whether you're using the Classic Designer or the modern Forms Layout Designer, but it should be possible with either one if you're running the latest version.

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

Sign in to reply to this post.