Sorry to be so long getting back to this but company tasks outrank free work.![]()
I got back to this a few minutes ago and found a possible solution, it seems to work here but your results may vary so I make no guarantees that it will fix the problems with other countrys etc., but it does seem to fix the dead end situation a user gets into if they initially forget to select a state during account creation.
Here is the change:
In the file includes/modules/pages/create_account/jscript_form_check.php
Locate the line which reads:
and change it to read:Code:<?php if (ACCOUNT_STATE == 'true') echo ' if (!form.state.disabled && form.zone_id.value > 0) check_input("state", ' . ENTRY_STATE_MIN_LENGTH . ', "' . ENTRY_STATE_ERROR . '") . "\n";?>
Let me know if this works and if so how well?Code:<?php if (ACCOUNT_STATE == 'true') echo ' if (!form.state.disabled && form.zone_id.value > 0) check_input("state", ' . ENTRY_STATE_MIN_LENGTH . ', "' . ENTRY_STATE_ERROR . '") form.state.disabled="disabled";' . "\n";?>
Thanks,
Jeff


)

