Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

go to original layout script set within portal


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

Recommended Posts

Posted

Hey guys,

i am using a portal for data entry. each line item that is added gets validated as you leave the field be a script. at the end of the script i have go to layout origianl layout so that my users end up where they stated. the problem is that they end up at the wrong layout. it ends up at a layout that directly shows the contents of the portal instead of the original layout which displays the portal. i have also tried passing get(layoutname) into the validation script as it runs. it also passes the name of the layout that directly shows the line items instead of the invoice layout that shows line items in a portal. any ideas? to make matters worse this script has the ability to run multiple instances of itself. everything works perfectly except the above problem.

HELP

Anthony

Posted

One way to ensure this is to make the button that turns you to the scripted validation, grap the layout number as a scriptparamter ...it is so that Go To Layout beyond the particular layouts lets you go to layout numbers or names....

That being said would I strongly suggest that validations as such uses the build in fieldlevel validation, which also can be made conditional taking the records other fields values or lack of into consideration.

This makes you stay in the original layout!

--sd

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