Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

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.

  • 2 weeks later...
Posted

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

Posted

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.

This topic is 8933 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.