I tried this link but in step 5, I am not able to edit the newform.aspx.I am not able to add the
spservices code there, it seems like the codes there can not be edited.
Create a new newform and try there. The default one works a little differently. After changing you can make the changed forms The default new/edit form.