Jump to content

  •  

UPGRADE DEADLINE - SEPTEMBER 26, 2014!
FileMaker Inc. has a deadline for users of version 10,11, 12 as Individual box or volume licenses (with expired maintenance).
If you don't renew your maintenance and upgrade to FMP 13 you will no longer be eligible to upgrade, at the discount pricing.

Volume Licensing upgrade pricing for FileMaker Pro 13, FileMaker Pro 13 Advanced and FileMaker Server 13 will be discontinued.
Individual upgrade pricing for FileMaker Pro 13 and FileMaker Pro 13 Advanced will increase after September 26, 2014.
As of 27-September-2014, FileMaker 10 products will no longer be available for purchase or support.

http://help.filemaker.com/app/answers/detail/a_id/13865


Photo

WebAssistant Error Code List

360works webassistant error

  • Please log in to reply
1 reply to this topic

#1 Mike_B.  newbie

Mike_B.
  • Members
  • 9 posts
  • FM Application:11 Advance
  • Platform:Windows 7
  • Skill Level:Intermediate
  • Membership:TechNet, FileMaker Business Alliance
  • Time Online: 18h 47m 20s

Posted 13 October 2011 - 01:41 PM

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!
  • 0

#2 sterlpearl  member

sterlpearl
  • 360Works
  • 12 posts
  • FM Application:11 Advance
  • Platform:Mac OS 9
  • Skill Level:Beginner
  • Time Online: 5m 7s

Posted 17 October 2011 - 07:12 AM

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
  • 0





FMForum Advertisers