Add a field when entering the field - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Add a field when entering the field (/thread-5554.html) |
Add a field when entering the field - mafia - 01-28-2009 06:17 AM Hello, So I appeal to you because I have a little information, Let me explain: I add a scrolling list with several extensions (.net / .com / .com etc. with subdomain example. C.la .. etc) at the customer's order at the time of entering the field: So to summarize I do this: in the current field are among the field without the extension and then a drop-down list or he chooses all extensions allowed. I hope I have made clear Thank you in advance RC7 RE: Add a field when entering the field - Mastacheata - 01-29-2009 03:00 AM You didn't ask any question yer, but I guess you want to know how to realize this. Do you want this to happen on the fly? (e.g. the form changes input field with the information from the select box) Or do you simply want to add both inputs to one string for processing as the domain field in the following scripts? Both need to change the user_add.php since there is no Template system for the gui where you could place the javascript needed for variant A in ispcp, at least as far as I know. Variant B would even with template need you to change the php because you have to change the content of the two submitted variables. I don't think either variant is a good idea unless you know what you are doing. Any changes made to the Source Code Documents will probably be lost with the next update and you bring in possibly new security leaks. |