Welcome Guest, Not a member yet? Register   Sign In
Disable Form And Populating Textfeilds
#1

[eluser]rochellecanale[/eluser]
Hello guys. Actually my problem isn't in CI framework but I used CI in a couple of months. So i hope that you can help me with my problem. I dont have any idea how to do this but my last resort will be is using jquery/javascript.

My problem is how can i disable the textbox and filling/populating textbox with users data.
Scenario: I have a membership form. First the member will have to input a username Next is the user will choose from a selection box that have a value of regular account and duplicate accoount. If the user choose regular the form will sets to default means all the textbox has no value. And he/she can add a new data. But if the user chose the duplicate account. The code will look up to the database via username which comes from the username textfield and it will automatically fill up all the fields.


This is my problem how can i do this? Actually i have no idea. Please help me. I accept any suggestion. Thanks in advance. Smile
#2

[eluser]solid9[/eluser]
<input type="text" disabled="disabled"/>
#3

[eluser]rochellecanale[/eluser]
Ok thanks.




Theme © iAndrew 2016 - Forum software by © MyBB