Sign in to follow this  
Followers 0
Mike_B.

WebAssistant Error Code List

2 posts in this topic

Hi, trying to get WebAssistant to work for submitting POST to a php form online.

Here's my statement:

Let ( setup = WAReset &

WASetInputValue( "username" ; LOCAL_USER_TABLE::userName ) &

WASetInputValue( "password" ; LOCAL_USER_TABLE::password ) &

WASetInputValue( "passwordc" ; LOCAL_USER_TABLE::password ) &

WASetInputValue( "email" ; LOCAL_USER_TABLE::Email ) &

WASetInputValue( "submit" ; "Register" )

;

WAGetURL(

"http://MYURL/register.php"

)

)

And here's the Script:

set var $calc - (sets as let statement above)

set field (plugin_result) WAReset

set field (plugin_result_container) Evaluate($calc)

set field (plugin_result) GetAsText (plugin_result_container)

if (plugin_result = "ERROR")

Show Dialog - WALastError

else if (plugin_result = "?")

Show Dialog - EvaluationError ( Evaluate ( $calc ) )

I am getting error #1204 returning from plugin_Result="?", but I don't really have an idea on where to start my troubleshooting.

Any list of error codes or what exactly EvaluationError() and Evaluate() look for?

Thanks!

Share this post


Link to post
Share on other sites

Don't evaluate the calculation. That is a technique we use in the demo file so you can edit the text in each example and use it as a sandbox.

Set Variable [$post ; Let(...)]

If [$post = "ERROR"]

Show Custom Dialog [WALastError]

Else If [$post = "?"]

Show Custom Dialog ["The Web Assistant plug-in is not installed"]

Else

Set Field [table_name::plugin_result ; $post]

End If

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0

  • Similar Content

    • ODBC Error
      By Cerbera
      Hi all,
      It's me again....
      I've temporarily gotten around my issues with "required value" fields in SQL data by adding a default value to all blank fields, however I have now found another error.
      I have a table of customers (BP_Details) which is retrieved from SQL server view using a DSN.
      I then have a local Filemaker table ("BPAddon") which I've linked to the BP_Detials table using a unique customer ID field.
      I wish to populate the records in the addon table via the Cusomter layout to supplement the data from SQL.
      As there are no records in the addon table I've selected "allow creation of records in this table via this relationship" on the add on table side.
      I can browse records fine, however as soon as I add data in a field on the addon table I receive an ODBC error: "You cannot specify scroll locking on a cursor that contains a remote table".
      Am I doing something wrong in the relationship?
       
      Thanks for any help!
       


    • Script find returns error: 500 regardless of date format
      By Eli Walker
      I'm running a script that should find a set of records within a specific date range. The date range is contained within a variable '$DateRange' which is then entered from the 'Perform Find' script step. Regardless of how I have the date range formatted, the script returns error 500 after the find. I've entered the date both as '1/22/2012...2/26/2012' or '22/1/2012...26/2/2012' or '1-22-2012...2-26-2012' and nothing seems to work. I've run this find request with the value I see for $DateRange in the data viewer while the script is running manually and it works without issue. It just doesn't work during the script. I've run this sort of find before without any issues... the only thing that has changed is that I've upgraded to FM14 (from 13). Any ideas???
    • Card Readers
      By Geeksharka
      Hi all,
      Installing 360's Plastic 2 plug-in for a client — one server, 8 clients on LAN only. They will be using VirutalMerchant's Converge platform for their gateway.
      I was wondering if anyone can recommend a card reader for regular and EMV chip cards?
      FMS14, FMP14 - all Mac OSX
      All feedback very much appreciated!
    • Filemaker Server 14 Installation Snafu
      By Mikhail
      I have a problem with filemaker server 14, when I install it this happened: 
      I don't know what is causing this, help.
    • Idiot guide on how to Use 360Works Email 2
      By PrinceCharles
      Hi there
      Have been using Filemaker for about 3-4 months now and have been using it to generate emails which go through to my MS Outlook 2010 client.  Of course these are just plain text - so am examining the best way of sending out HTML based emails.
      I've downloaded the 360 Works Demo version but having not really used extensions/plug ins before - I really don't understand what I'm doing!
      I've installed it according to the instructions - but that's as far as I can go. 
      I'm not sure how to call these functions, or anything else I need to set-up.
      Any walk-throughs/help would be greatly appreciated.
      Even though I have a 64 bit system, I couldn't get the Filemaker 14 (64 bit version) to work - So I'm using the 32 bit version, which works fine 
      Mark
      FM Pro 14, Windows 8.1, 2 users