Alex Mitchell:
what is the best practice of sending data from a web site to FMBF onFormRequest (eg. web site has multiple locations which the user can pick location nearest to them ) … want to capture that location, make it part of the of the model that comes back to the page, and set it to the new record that will be created in FM.
Andrew Dam:
So you’re linking your users to your BF site from an external website?
You should include some query in your URL based on the location selected (i.e. www.mybfsite.com/#/somepage?location=xxxx). In the onFormRequest, you can grab the location which will come in the $$BF_Query
global variable and handle accordingly.
Alex Mitchell:
yes. so append ?location=1001 for example , if the store # in this case is 1001 , we have a table of all stores in FM
Andrew Dam:
Yep exactly