Hi!
1. I will have several services, one page for each service. In each page there is a customer application form. How can I solve this need - in applications database, I need to see from which URL user has submitted the form. Namely, how can form read and pass on to application database form source url?
2. After form submit (which happens successfully), all fields are shown with error styling (red border). That should not happen. How can I fix this?
BR,
Ansis
Hello! we are trying to get this to work on our site as well - i'd be happy if someone who is interested in helping to resolve this will contact me at gil@hashunited.com
Thanks! Gil
Hi Ido, thank you for your reply! Still don't get it. Maybe I can reach you privately and you could help out with this as a small freelance task? My skype: ansis.lipenitis
Hi Ansis,
1. To retrieve the current URL, you can use Wix Location:
import wixLocation from 'wix-location';
//...
let url = wixLocation.url;
2. When adding new fields, you specify the field type. (Boolean, text, date, file, etc).
This does not prevent you from programmatically updating the field to an incompatible type, however an error notifying you about the type error will be shown.