Jump to content

pcottrell

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by pcottrell

  1. Greetings.. I have been searching the net for an FMP plugin which might generate MD5 hash strings.. Does anyone know of such a plugin, or does anyone have a calculation or custom function that might do the job? Thanks in advance... Philip
  2. We are attempting to use a Validate and Submit GoLive Action to verify form data before record creation. The Validation works well but we are getting an Error # 4 message (No Valid action in input form) when attempting to submit the form. We suspect the problem maybe in the following code: <csactions> <csaction name="B863138D5" class="SCValidateSubmit" type="onevent" val0="FirstName, LastName" val1="" val2="" val3="" val4="" val5="" val6="Fields are empty!" val7="#ff0f31" val8="tryForm" val9="true" val10="" val11="" val12="" val13=""> <csaction name="B863495312" class="SCValidateSubmit" type="onevent" val0="" val1="" val2="" val3="" val4="" val5="" val6="" val7="#ff7670" val8="tryForm" val9="true" val10="" val11="" val12="" val13=""> </csactions> <form action="FMPro" method=post name="tryForm" onsubmit="CSAction(new Array(/*CMP*/'B863495312'));" cssubm="B863495312"> input type="button" name="tryButton"><input type=button name="-New" value="New Record" onclicktag="return CSAction(new Array(/*CMP*/'B863138D5'));" csclick="B863138D5" Any suggestions are welcome ! Philip
  3. We are attempting to use a Validate and Submit GoLive Action to verify form data before record creation. The Validation works well but we are getting an Error # 4 message (No Valid action in input form) when attempting to submit the form. We suspect the problem maybe in the following code: <csactions> <csaction name="B863138D5" class="SCValidateSubmit" type="onevent" val0="FirstName, LastName" val1="" val2="" val3="" val4="" val5="" val6="Fields are empty!" val7="#ff0f31" val8="tryForm" val9="true" val10="" val11="" val12="" val13=""> <csaction name="B863495312" class="SCValidateSubmit" type="onevent" val0="" val1="" val2="" val3="" val4="" val5="" val6="" val7="#ff7670" val8="tryForm" val9="true" val10="" val11="" val12="" val13=""> </csactions> <form action="FMPro" method=post name="tryForm" onsubmit="CSAction(new Array(/*CMP*/'B863495312'));" cssubm="B863495312"> input type="button" name="tryButton"><input type=button name="-New" value="New Record" onclicktag="return CSAction(new Array(/*CMP*/'B863138D5'));" csclick="B863138D5" Any suggestions are welcome ! Philip
  4. I have a situation which necessitates me moving from a parent DB to a child. The primary key for the relationship needs to be passed by a token. However, I would like to move through my parent file's records using the Next and Previous links. Once I arrive at a record and want to view its related records I would like to click on a link to take me to the child DB, and again let me use the next and previous links to move around the related records. Where should I place the &-token=[FMP-field:seq] code in my format page? Can I add it somewhere between the {FMP-LinkNext] and [/FMP-LinkNext] tags? Should it be built into the search link or an inline action in the results page? Confused..... [ April 24, 2001: Message edited by: pcottrell ]
  5. Here is a simple question which is causing me grief... What is the correct syntax for combining tags with simple operations? for ex: -Skip=[FMP-CurrentRecordNumber]-1 The "-1" seems to be read as text and ignored... Any help will of course be appreciated... Philip
  6. I do have the end of form tag, and here is the error message I get.. Search Error There was an error searching the "newsandevents" database. [# ERR: 4] Please check your submission and try again. Thanks - you are fast!!
  7. quote: Originally posted by Vaughan: Just a tip... if your -MAX is 1, you don't need to sort! Ditch those tags and it'll speed things up. Thanks both of you... I think I've got it going now. The db is news events. If my max is one, do I still sort if I want to be able to step through the news events cronologically? ( the events are not entered in the db in chronological order..) Also, to complicate things slightly - can I get the javascript link to work from a page not hosted by FileMaker but by the web server? Philip
  8. I have been trying to submit a form action (-find) using a link instead of a button. The suggested method of javascript sounds right, but I am getting error messages.. Here is what I am doing so far... <P><FORM ACTION="FMPro" METHOD="post" name="newsform"> <P><INPUT TYPE="hidden" NAME="-DB" VALUE="newsandevents"> <INPUT TYPE="hidden" NAME="-Lay" VALUE="web"> <INPUT TYPE="hidden" NAME="-format" VALUE="search_results.htm"> <INPUT TYPE="hidden" NAME="-error" VALUE="search_error.htm"> <INPUT TYPE="hidden" NAME="-SortField" VALUE="nSortDate"> <INPUT TYPE="hidden" NAME="-SortORder" VALUE="Ascending"> <INPUT TYPE="hidden" NAME="-SortField" VALUE="nEventName"> <INPUT TYPE="hidden" NAME="-SortORder" VALUE="Ascending"> <INPUT TYPE="hidden" NAME="-max" VALUE="1"> <INPUT TYPE="hidden" NAME="-op" VALUE=eq> <INPUT TYPE=hidden NAME=nAuthent VALUE=1> <INPUT TYPE=hidden NAME=name VALUE="-find"></P> My link to submit the form is: <A HREF="javascript:document.newsform.submit()">SearchNow</A> Any help greatly appreciated.... Philip
  9. Thanks. I guess I should clarify. The button sends the canned search request to FMP and seems to package it in a way I have as yet been unable to duplicate using a link. One effort before I resorted to inlineAction: FMPro?-DB=WDWCourseDB.fp5&-Format=search_results.htm&-error=search_error.htm&-op=e&cdbOnWeb=1&-Find Does your suggestion only work for the submit button? Could I use a form and use Java to submit the -Find command?
  10. I have browsed as many past posts as I could find, so I hope I am not repeating things here... I am using FMP5 Unlimited, serving two databases which are related. I used HomePage and additional tags to create a search page which returns results in a page with a portal. The portal works great as long as I use the button (generated by HomePage) to submit the search request. However, If I use a link to submit the search, I only get the fields from the parent file - no related fileds in the portal. I have managed to use the inline action tag to get things going for now, but am curious as to why I can't duplicate the button action in a link.. As my databases grow, the inline tag will become slower I believe, so I need to solve this some time soon. Any ideas? Thanks in advance!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.