Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Submit HTML form code from FP7

Featured Replies

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

  • 5 years later...

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.