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

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

Recommended Posts

Posted

I have a button that the user can click to add a new line to a portal. The portal is used for entering comments related to a specific store. The fields are DATE, STAFF NAME and COMMENT. The Date field is set up as a regular date field - not auto-enter. The Staff Name field is a value list from another file. and the Comment field is a text field. When the button is clicked and a new line the cursor takes the user to the date field in the last record. But when they tab out of the date field to the Staff Name, the cursor jumps way back up the first record and opens up the value list/pull down. Another tab takes them to the Comment field on the first record. Here is the script that is set up on the button:

Open ["Design Tracker hidden.fp5"]

Perform Script [sub-scripts, External: "Design Tracker hidden.fp5"]

Go to Layout ["Design Tracker"]

Go to Field ["Design Tracker hidden::Date"]

Go to Portal Row [select, Last]

I want the user to be able to tab across all three field while staying on the same portal row.

Posted

You need to go to the first modifiable field in the portal, instead of the last one. Put Date as the first field in the portal row, if you require it to be entered first.

There is no way, AFAIAA, to prevent tabbing into the next row (in this case, the first row) when you reach the end of portal row, unless you set the Field Behavior on that field to not use Tab to go to the next field.

Posted

Unless the records are created thru another portal. Since the process is scripted anyway, it should be easy to do. Or use global fields to fill out the data, then let the script create the actual record.

Posted

-Queue-,

If I switch to the first modifiable field in the portal, I am taken to a row that already contains information. This what I am trying to avoid. I want to be able to tab straight across thru the blank fields.

Visual:

My portal contains the following three fields.

--------DATE----------STAFF---------COMMENT

Row 1---10/28/04------Ryan W--------Rendering with perspective for signage.

Row 2----2/15/05------Brad H--------Mainstreet level 3 195 SGR OR.

Row 3

**OK now I want to add a new comment so I click my button which takes me to the DATE field on Row 3 in the portal (which is good).

When I enter the date and hit the tab key I am taken to the STAFF field in Row 1 (Ryan W) instead of to the STAFF field in Row 3. If I click the STAFF field in Row 3 and enter the name and then hit the tab key again I am taken the the COMMENT field in Row 1 instead of Row 3.

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