How can I change a number field to a text field without loosing the associated data?

  • Profile Image
    monichr
    Asked on July 10, 2013 at 11:09 PM

    We already have more than 300 submitted forms, but now we have some reports from users not being able to enter an alphanumeric code because we used a numeric field.

    It is possible to change that field but preserve the data from the 300 already submitted?

     

    Thanks

  • Profile Image
    pinoytech
    Answered on July 11, 2013 at 01:35 AM

    Hi,

    Yes, that is possible. By using some custom css, you can force to hide a certain field in your form without loosing any data.

    You can use this custom css and inject into your form.

    For Adults field: #id_17 {display: none;}

    Children 4-12 years: #id_19 {display: none;}

    Children under 4 years: #id_20 {display: none;}

    Spaces to book for the tour: #id_22 {display: none;}

    If you need further asistance, please let us know.

    Thank you!