submit_form: Submit a form back to the server.

Description Usage Arguments Value Examples

Description

Submit a form back to the server.

Usage

1
submit_form(session, form, submit = NULL, ...)

Arguments

session

Session to submit form to.

form

Form to submit

submit

Name of submit button to use. If not supplied, defaults to first submission button on the form (with a message).

...

Additional arguments passed on to GET() or POST()

Value

If successful, the parsed html response. Throws an error if http request fails. To access other elements of response, construct it yourself using the elements returned by submit_request.

Examples

1
2
3
test <- google_form("1M9B8DsYNFyDjpwSK6ur_bZf8Rv_04ma3rmaaBiveoUI")
f0 <- html_form(test)[[1]]
f1 <- set_values(f0, entry.564397473 = "abc")

Zyufei/Rstudy documentation built on May 19, 2019, 4:04 p.m.