Jump to content

token not setting


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

Recommended Posts

Hey everyone,

I'm using CDML tokens for the first time.

An initial page has the employee entering the date, and selecting an href link of their name. That link has an onClick event that uses JavaScript to go to the following link:

http://127.0.0.1:591/FMPro?-DB=gTime.fp5&-Format=timeEnter.html&-Token.2=5&Token.1=04/14/2004&-View

The format file is where they enter the details of their timesheet. There are fields in the format file like this:

<input type="text" name="date" value=[FMP-CurrentToken: 1] />

<input type="text" name="staffId" value=[FMP-CurrentToken: 2] />

Token.2 goes to staffId all okay, but Token.1 only sends a single slash character("/") to date. I had thought the slashes in the date might be the problem, but even when I changed the date to a single number ("4"), I had the same problem.

Can you offer any advice?

Thanks,

Paul

FileMaker Version: Dev 6

Platform: Windows 95/98

Link to comment
Share on other sites

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