diff --git a/examples/basic-fields/basic-string-input-field.php b/examples/basic-fields/basic-string-input-field.php
index <HASH>..<HASH> 100644
--- a/examples/basic-fields/basic-string-input-field.php
+++ b/examples/basic-fields/basic-string-input-field.php
@@ -11,7 +11,6 @@ $objForm->addField("name", "Enter your name", ValidForm::VFORM_STRING, [], ["typ
 
 //*** Generate form output
 if ($objForm->isValid() && $objForm->isSubmitted()) {
-    $strCheckboxValue = $objForm->getValidField("rating")->getValue();
     $strOutput = $objForm->valuesAsHtml();
 } else {
     $strOutput = $objForm->toHtml();
Update basic-string-input-field.php

[skip ci]