[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Button to reset the status field

Hi
I have to create a button to reset the status field on a form when pressed. Can anyone give me some ideas on how to start
Thanks :)
0
Coral_F
Asked:
Coral_F
  • 2
1 Solution
 
Coral_FAuthor Commented:
I was thinking it would be a @setfield
0
 
mbonaciCommented:
Yes, you can use @SetField, but you can also do it like this:

    FIELD statusFieldName := "New status"
0
 
iPinkyCommented:
both solutions above are right, but basically such questions always lead to more issues later, ie. you might in 2 weeks ask: how can I prevent all users from pressing this button etc..

I would advise you to sit down with a good LN consultant and give him your requirements so that all can be done properly and not in small steps like adding a button here or there
0
 
mbonaciCommented:
Hmmm, you can answer almost all of the questions on EE like that.
Or even shorter: "Hire consultant".

IMO, since the question was very specific, it required a specific answer.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now