DNA Posted May 13, 2005 Posted May 13, 2005 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
ralph.nusser Posted April 8, 2011 Posted April 8, 2011 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
Recommended Posts
This topic is 4977 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now