• Hello,

    I have a csv with a number field column: 0001, 0002, 0003… and when I import it to participants database it appears as 1,2,3… I need zeros appears. How could I do that?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author xnau webdesign

    (@xnau)

    A number with a leading zero is considered a string, so you need to use a text form element for that. Numeric elements are strictly for numbers (in the mathematical sense) only.

    Thread Starter ethink1

    (@ethink1)

    I tried using text form but it also erases the zeros… ??

    Plugin Author xnau webdesign

    (@xnau)

    A text field won’t change the input, I just checked this and it works. Check to make sure your field is the right type, also you may need to reload the page if you are changing the form element type of a field.

    Thread Starter ethink1

    (@ethink1)

    Sorry, but It doesn’t work for me… zeros dissapear! I don’t know where is the error… I reload page. Any idea to solve it? Thank you.

    Plugin Author xnau webdesign

    (@xnau)

    OK, take a look at the configuration of your field. Make sure the Form Element is set to “Text-line” and save the configuration. Zeroes will not disappear if this field is configured correctly.

    If you can post a link to the page that shows the problem I’ll take a look.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Number element form with zeros’ is closed to new replies.