Jump to content

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

Recommended Posts

Posted

Is it possible to pass a Token on what selection they pick? If so I'm not sure where to insert my Token? I tried to put the following under the form tag.

<input type="hidden" name="-Token.3" value="[FMP-Field: SchoolID]">

But that did not work so I think I need to have it in the selection? Am I on the right track?

<select name="SchoolID" size="10">

<OPTION VALUE=""> --------- Choose a School ---------</OPTION> [FMP-InlineAction: -db=Schools_Master.fp5, -lay=form_view, -sortfield=School, -sortorder=ascend, -max=all, -findall] [FMP-Record][FMP-If: School .neq.]<OPTION VALUE=[FMP-field: ID]>[FMP-field: School]

[/FMP-If]

[/FMP-Record]

[/FMP-InlineAction]

</select>

Thank you

Kent

Posted

The Token will be assigned as the Format file is called. So if the:

<input type="hidden" name="-Token.3" value="[FMP-Field: SchoolID]">

is in a format file which is the result of a -find (or similar action), then -token.3 will have the value of the field.

Check [FMP-CurrentFind] it offer some insight to what you are after.

Garry

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