PHP Classes

Presenting a conformation screen...

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  How to Show Google Ma...  >  All threads  >  Presenting a conformation screen...  >  (Un) Subscribe thread alerts  
Subject:Presenting a conformation screen...
Summary:... before processing the form?
Messages:12
Author:ffff
Date:2007-07-08 18:18:17
Update:2007-07-11 04:38:36
 
  1 - 10   11 - 12  

  11. Re: Presenting a conformation screen...   Reply   Report abuse  
Picture of ffff ffff - 2007-07-11 03:33:17 - In reply to message 9 from Form Class
I am of the idea that the readonly mode should ALWAYS output the inputs in invisible fields. If you are not going to use them they do not affect you...

For now, I think I'll end up changing the individual readonly parameters using the SetInputProperty. And for the "modify" button I think I'll have to use some javascript to change a value in an invisible field so that the form knows if the user intends to confirm and process the form or modifying it.


  12. Re: Presenting a conformation screen...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-07-11 04:38:36 - In reply to message 11 from ffff
The form wide ReadOnly flag works as described. I will not break backwards compatibility and change its behavior to not break existing applications and annoy all developers that relied on that behavior.

I you just want to display fields in read-only mode while passing their values in hidden fields, you can just use AddInpuReadOnlyPart. You do not need to set the form wide ReadOnly flag.

 
  1 - 10   11 - 12