• Resolved onepack

    (@onepack)


    Hi David,

    People we’re checking out without making a selection in the dropdown.
    So they were cheking out with only the shipment cost as I combined the address country with the shipment amount.

    In shortcodes.php on line 722 I have changed the next line:
    $html .= '<option value="' . __( 'Select an amount', 'paytium' ) . '" selected>' . __( 'Select an amount', 'paytium' ) . '</option>';
    to an empty value:
    $html .= '<option value="" selected>' . __( 'Select an amount', 'paytium' ) . '</option>';

    Otherwise the first text option “select an amount” would validate as a value.
    Also I added required as option in <select> like: ' . $required . '

    Please let me know your thought on this.

    Greetings,

    Maurits

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor davdebcom

    (@davdebcom)

    Hi Maurits

    good call! This isn’t possible in 1.5 because it doesn’t support adding-up amounts, but I’ll register an issue in my tracker and fix it for the stable 2.0 release!

    Kind regards
    David

    Plugin Contributor davdebcom

    (@davdebcom)

    Hi Maurits

    Some things changed since you posted this. Could you email the form you use to [email protected], so I can use that for testing your situation and the change?

    Kind regards
    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dropdown required’ is closed to new replies.