2

I am using the learnr package and I would like to know if there is an easy way to change the caption of the submit button? Instead of "Submit Answer", I would like to change it to "Validate", for example. I could not find information in the package help.

Ian Campbell
  • 23,484
  • 14
  • 36
  • 57
Philippe Massicotte
  • 1,321
  • 12
  • 24

1 Answers1

4

It is hardcoded, maybe make your own version of the function. Change this line quiz.R#L113:

x$checkAnswerText <- "Submit Answer"

To:

x$checkAnswerText <- "Validate"

And see the related GitHub issue 108.

zx8754
  • 52,746
  • 12
  • 114
  • 209