May 13, 200520 yr Hi, I need to submit a html form code from within FP7. It will be used to send customers data eg name, email address automatically to a web based autoresponder system. I have the HTML form code I use on the web page, but I can't figure out how to use that code and integrate it into FP7 so when I hit a 'Submit' button in FP7 it will submit the form data. Any help would be greatly appreciated. Regards Mark
April 8, 201114 yr this is an example web form: Web Developer Then make a custom function: data:text/html, <form name = 'login_myPage' action="http://www.myPage.com/login.asp" method="post"> User Name<br> <input type="text" name="user" value="Ralph Nusser" <br><br> Passwort <br> <input type="password" name="pass" value="So geht es!" <br> <input type="hidden" name="cookie" value="1" <br> <input type="hidden" name="goto" value="/loggedin.asp"><br> <input type="submit" value="Login" <br> </form> <body onload="document.forms['login_myPage'].submit();"> </body> To analyze web forms download the Firefox Addon of Chris Pederick: Let ([ login = "data:text/html," & ¶ & "<form name = 'login_myPage'" & ¶ & _TAB & "action=\"http://www.myPage.com/login.asp\"" & ¶ & _TAB & "method=\"post\">" & ¶ & _TAB & _TAB & "User Name<br>" & ¶ & _TAB & _TAB & "<input type=\"text\" name=\"user\" value=\"" & pUserName & "\" <br><br>" & ¶ & _TAB & _TAB & "Password <br>" & ¶ & _TAB & _TAB & "<input type=\"password\" name=\"pass\" value=\"" & pPassword & "\" <br>" & ¶ & _TAB & _TAB & "<input type=\"hidden\" name=\"cookie\" value=\"1\" <br>" & ¶ & _TAB & _TAB & "<input type=\"hidden\" name=\"goto\" value=\"/loggedin.asp\"><br>" & ¶ & _TAB & _TAB & "<input type=\"submit\" value=\"Login\" <br>" & ¶ & "</form>" & ¶ & "<body onload=\"document.forms['login_myPage'].submit();\">" & ¶ & "</body> " ]; Case ( IsEmpty (pUserName);""; IsEmpty (pPassword);""; login) ) See example file to search FM Forums: Form_Filling_FMforums_SOGETES_1_0_0.fp7.zip Happy FileMaking Ralph Nusser Sogetes Computer-Services
Create an account or sign in to comment