How to Prefill Form Fields with URL Parameters
Hi, is it possible to prefill form fields with URL parameters in NetSuite? I tried using the syntax ‘base_url?fieldname1=value&fieldname2=value’ but it doesn’t seem to be working.
Im actually not sure where its documented since I learned it in the slack channel but:
base_url?record.fieldname1=value&record.fieldname2=value
When you say ‘record.fieldname1’ do you mean the record ID or the record type (e.g. ‘rectype=493’)? If it’s the ID, I’m not sure how I’ll do that since I’m trying to do this upon record creation, which means there is no ID yet.
Just the text “record”, e.g. if you want to default the Memo field on a Sales Order to say “hello” you would use the url “/app/accounting/transactions/salesord.nl?record.memo=hello”
P.S. it’s better to post follow up questions as comments on the answer instead of new “answers”. Answers are by default sorted by votes so the thread can become hard to follow if answers are used as replies..
It worked, thanks! And yeah, someone mentioned that before. I just keep getting thrown off because there’s a spot for “Your Answer” at the bottom which always makes me think that’s where I need to respond. But I’ll try to keep that in mind. Thanks again.
you need to put the field id’=’ and the acceptable value for the specific field at the end of the Page URL. this trick does work for few selected standard fields only.
Thanks. Got it working now!



