Jump to content

Related Field in URL


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

Recommended Posts

If you are updating a database using a form, and a related field is on the form, the CDML is

[FMP-Field: relationshipname::related field]

This is simple. Now if I'm updating a field using a url it's just the field name, the equal sign, and the value (be it an actual value or a cdml tag), but if I want to update a related field in a link/url, what code do I put? Thanks in advance...

Link to comment
Share on other sites

Try this...

FMPro?-db=file.fp3&-error=error.htm&-lay=whatever&-format=editreply.htm&relationship::related%20field=newvaluehere&-recid=88888&-edit

Note that the reference to the field name does not have a hyphen in front of it. The recid value is important, the page that generates the url will have to specify a valid and appropriate record to edit. Only one record can be edited at a time.

Link to comment
Share on other sites

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