Jump to content
Server Maintenance This Week. ×

Creating Forms??


kuma_24

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

Recommended Posts

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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