Registration form

Collect user information

Roy Wang
IT

Who would use this?

  • This is a user informatin collection forum.
  • This APP will collect user Registration Information and display it.
  • The APP can be viewed at shinyapp.io

The ui.R file

  • It uses the Side and main layout.
  • Text inpur filed will collect name, email.
  • Radio buttons will collect the gendar .
  • Date input will let the user to select the date birth .
 dateInput("birth_date", label = h4("Date of Birth"), value = "1970-01-01")

The server.R file

  • Will display all the input results.
    output$name <- renderPrint({ input$name })
    output$email <- renderPrint({ input$email })

    output$gendar <- renderPrint({ input$gendar})


    output$birth_date <- renderPrint({ input$birth_date})

    output$odate<-renderPrint({input$date})

The Results

  • The main panle will display the results
             h4('Your Name')
             verbatimTextOutput("name")
             h4('Email')
             verbatimTextOutput("email"),
             h4('Gendar')
             verbatimTextOutput("gendar"),
             h4('Date of Birth')
             verbatimTextOutput("birth_date")
             h4('Registration Date')
             verbatimTextOutput("odate")