This topic is locked

Edit As\Edit Format - Password

6/26/2006 3:21:04 PM
PHPRunner General questions
S
Sealless author

I am not sure if I understand what is happening in this situation:
I have an Edit As Text Field field and I have selected to Validate As Password (or anything, really) in the Edit Format column. The Password Field box is not checked. The result is what I expect

onLoad="define('value2', 'IsPassword', 'Password'


If I check the Password Field box , keep the Validate As Password setting and rebuild I lose the IsPassword setting and consequently the validation does not complete.
Is this the expected behaviour?
(PHPRunner v3.0 Build 119)

Alexey admin 6/27/2006

Hi,
thank you for pointing me to this bug.

We'll fix it in the next PHPRunner update.
To get your pages working now please set your password field to be edited as Text Field with Validation.

Build the pages and open generated include\..._functions.php file.

Find this snippet there:

function GetEditFormat($field)

{

...

if($field=="Password") return "Text field";



and replace it with:

function GetEditFormat($field)

{

...

if($field=="Password") return "Password";