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

Creating Forms??


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

Recommended Posts

Posted

I have created a -find form in xml. When I click to "find" my records I do not get any information returned and the link look like this...

(IP here)/fmi/xsl/ceg/pmhome.xsl?

The rest of the link is missing. Anyone have any thoughts on this?

Posted

Correction...after doing some testing I have found that the resulting URL will only show the url from above (even if it hits the DB and returns info). So now I am very lost on this. I have other db's with web pages that have forms that work. For some reason none of the forms on the pages with this db will work. Does anyone have the syntax for a form and the header information (if any) that goes with it?

Posted

I solved the problem. The operator is stupid. I had a field missing on a layout. In filemaker 6 it would give you an error when the field was not on the layout. In 7 it does not give you any errors.

Posted

In 7 it does not give you any errors.

Not quite correct. You get the error in the <error code="somevalue"/> element of your result tree in fmresultset grammar. If the value is 0, you are fine, if not, then you can check the error table in the appendix of your Custom Web Publishing Guide. E.g. 102 means "field missing".

To see what happens in the result xsl stylesheet file, I add the following line for debugging:

<textarea rows="10" cols="80"><xsl:copy-of select="."/></textarea>

This shows you the FM result set tree.

Martin

P.S. I used this technique also in this thread:

delete record in XSLT

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