Custom fields not showing up through custom registration form

Though to check if there was some string issue. converted value to string. but still no effect.

Converted 
companyName: String($w('#companyName').value),// this one still doesnt show up
whatisthis:"testvalue", //this one shows up since it has hard-coded eligibilityCode:$w('#eligibilityCode').value,//this one still doesnt show up.

WHY does the hardcoded whatisthis value show up but not the others!