
Leslie MacNeill
Members-
Posts
31 -
Joined
-
Last visited
Leslie MacNeill's Achievements
-
How can I validate that all fields in a form are filled in before the form is submitted? I'm using xslt and FM8. I have a vague knowledge of PHP and javascript, but realize that one of those are probably the best way to do this. Thanks in advance for your help.
-
I need to be able to find based on multiple criteria in a form and I'm running into a problem. The user should not be able to proceed if they don't fill in both fields, but the form is going to the action page instead of the error page if they leave either or both fields blank. I've tried adding the -lop "and" and also the fieldname.op "eq" to no avail. I don't have this problem in my inline statements, just the form. Any ideas what's wrong? hitlist.xsl Please enter your Make and Model. Make Model Search for Parts Thanks in advance for your help.
-
Sorry to bother you again, but I have one last snag to unravel to finish my website. I need to edit the first (and only) record in a portal. First, I create a new parent record and records in two portals simultaneously: wsflibrary cart.xsl?-db=LJMorders&-lay=orders&-token.1=&-token.2=&-token.3=&-token.4=&-token.5=&status=open &orderdetails::resourceID.0=&contacts::more_info.0=yes&-new This was working. Then, in an effort to get part 2 below working, I switched the lower and upper portals in the database and now, I'm getting an error=101 for part 1. Now for part 2: The results page for the above edits one of the newly created portal records: wsflibraryconfirm.xsl Name: Last, First X Email X Phone X Company X Address X City, State, Zip X How did you learn about me? X I already receive your FREE Newsletter! Yes No X X/font> I would like to receive your FREE Newsletter! Yes No X X I would like to use your FREE Nutrition Coaching! Yes No X X X When part 1 was still working, part 2 resulted in error=0; however, no data was input into the record. I've enclosed the files used, including the databases with username/password = admin/admin. Thanks in advance for your help. create-edit_portal_records.zip
-
Sorry to bother you again so soon, but I have one last snag to unravel to finish this website. I need to edit the first (and only) record in a portal. First, I create a new parent record and records in two portals simultaneously: wsflibrarycart.xsl?-db=LJMorders&-lay=orders&-token.1=&-token.2=&-token.3=&-token.4=&-token.5=&status=open&orderdetails::resourceID.0=&contacts::more_info.0=yes&-new This was working. Then, in an effort to get part 2 below working, I switched the lower and upper portals in the database and now, I'm getting an error=101 for part 1. Now for part 2: The results page for the above edits one of the newly created portal records: wsflibraryconfirm.xsl Name: Last, First X Email X Phone X Company X Address X City, State, Zip X How did you learn about me? X I already receive your FREE Newsletter! Yes No X X I would like to receive your FREE Newsletter! Yes No X X I would like to use your FREE Nutrition Coaching! Yes No X X X When part 1 was still working, part 2 resulted in error=0; however, no data was input into the record. I've enclosed the files used, including the databases with username/password = admin/admin. Thanks in advance for your help. create-edit_portal_records.zip
-
That's it! You're amazing. Thanks ever so much.
-
I've enclosed the requested zip file. It includes the database since there's no real data yet (I've changed the full access user name and password to admin/admin), the two xsl files in question (it continues to the results page in the event of an error) and the auxiliary templates that are called by those files. Thank you very much for checking this out for me. By the way, the database permissions reverted back to the group being the owner and the permissions for the group being read only when I downloaded the latest copy of the database from my website in preparation for sending it to you. How can I guarantee that the permissions are correct on a remote server that's not under my control? new_record_problem.zip
-
I eliminated the header and footer originally. I rebuilt the layout to no avail.
-
Every page includes the following: <?xslt-cwp-query param="-grammar=fmresultset"?> I did read one of your responses to a post on this forum about problems with the "-process" parameter, so I looked it up in the CWP Guide and double-checked that I hadn't inadvertently used it. It was on two of the templates that I call from every page -- the masthead and the navigation bar -- so I corrected it and tested it before I posted my original message. It didn't solve the problem. Is there any additional information I can provide that will help debug this?
-
Here's what I got. I looked up error # 102 and it says "field missing" so I double-checked that all of the field names are spelled correctly in the code and they are. I'm stumped.
-
I know this topic has been covered numerous times in this forum (I've read them all and tried to implement the suggestions), and I know it's covered in the CWP Guide, but I have tried everything I can think of and find and nothing seems to solve the problem. I have a page that is supposed to create new records via a form. Upon submission, it goes to the results page with no errors, but no new record is created. There are two privileges sets defined, one with full access and the Guest with Data Entry Only. Both have FMXSLT extended privileges. I have set the owner to fmweb and the group to fmsadmin, both with rw permissions (I have no way of knowing if this information is preserved when I upload it to my website). I have looked at the code over and over and don't see any errors: <?xml version="1.0" encoding="ISO-8859-1"?> <?xslt-cwp-query param="-grammar=fmresultset"?> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmrs="http://www.filemaker.com/xml/fmresultset" xmlns:fmq="http://www.filemaker.com/xml/query" xmlns:fmxslt="xalan://com.fmi.xslt.ExtensionFunctions" exclude-result-prefixes="xsl fmrs fmq fmxslt"> ... wsfcoachingconfirm.xsl Name: Last, First X Email X Phone X X ... Can someone please help? I'm banging my head against the wall now! Here's the URL if it'll help: http://208.67.224.101/fmi/xsl/wholesum/wsfcoaching.xsl?-db=LJMresources&-lay=resources&-token.1=retail&-token.2=0&-token.3=0&-token.4=0&-token.5=0&-view Thanks in advance for your help.
-
I'm not in front of the Windows machine right now, but if I remember correctly, we already used this feature to create the gutter (the extra space on the inside of each page for binding). That doesn't, however, allow you to print all of the odd numbered pages in one printing pass, turn over the paper, and print the even numbered pages in the second pass.
-
I use a Mac at home and choosing to Print Odd or Even pages is an option in the Print dialog box. However, I have a client using Windows that needs this feature and it's NOT in his Print dialog box. Any ideas how to implement this feature in Windows?
-
I'm trying to put an email address into a token. The @ keeps converting to its hex code: %40, then every time the token is carried to the next page, the % also converts to its hex code %25, so eventually I end up with %25252540 when it should just be an @. I would like to try inserting the &___; code for it initially to see if that solves the problem, but I can't find it anywhere (I can find the ampersand code for just about everything else but that). Does anyone know it? Or does anyone have any other ideas on how to solve this problem?
-
Thank you so much, Martin, for getting back to me. The error code statement resulted in 10201, which is a message formatting error. I checked the email stylesheet and there are no statements. I assume there's something else in that file it doesn't like. I tried to find MHTML how-to info online with no luck. Could you suggest a good source?
-
I have one more issue to resolve. I'm not receiving email from the website; there are no error messages -- the email just never arrives. The code in question is below and the website is now live at http://www.motorwarehouse.net. To execute this code, you need to go to the Engine Kits link and purchase a kit. Once you have completed the checkout, the email SHOULD be sent to you, the customer as well as me. Thanks in advance for your help. ...