Jump to content
Server Maintenance This Week. ×

Form help


This topic is 8667 days old. Please don't post here. Open a new topic instead.

Recommended Posts

On my new record page I wanted to run a script to generate a number. I inserted the code to run the script, but since the whole page is a form, every time I click 'submit' the script is run. I need the script to be independent of the new record action, because I don't need a new number for every new record. Is there a way to create a new record without running the script? Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

The only thing that I can think of is write a script (let's call that scriptA) that will determine whether or not you need to create a new number, if you do, then you will run the oringinal script(scriptB) and if you don't, nothing happens.

And in the form, make it run scriptA.

I'm not sure if this will work!

Anita smile.gif

Link to comment
Share on other sites

Is there any way to create this number using a calculation field rather than a script?

If it's created by a calculation it can be entered into the record at creation by an auto-enter.

Link to comment
Share on other sites

This topic is 8667 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.