This topic contains 8 replies, has 2 voices, and was last updated by Patrick Haley ☁️ 5 years, 10 months ago.
-
AuthorPosts
-
May 17, 2017 at 4:44 pm #3054
KGosnellGreetings,
I have an embedded online form working that does not use an iFrame.
My challenge now is to use the same methodology to populate a Custom Record from an embedded online form.
NetSuite throws a “invalid record type” when I try to use the same code (in essence) to create a new custom record.
Any insight is much appreciated.
There must be a way to populate a custom record using an embedded online form without the dreaded iFrame.
Thanks
Simple embedded code that creates a lead record in NetSuite without an iFrame.
================================================== ==============================================
-//W3C//DTD HTML 4.01 Transitional//EN">
Lead Form Template Online Lead Form
================================================== ================================================== ========
Trying to create a custom record using the same methodology.
Only difference is the action and the label names..
-//W3C//DTD HTML 4.01 Transitional//EN">
Custom Record Custom Record Form
-
May 18, 2017 at 4:18 am #3055
ERPExpertsHi there.
Feel free to view source on our site http://www.erpexperts.co.uk/contact-us/
That’s how we’ve done what you’re trying to do.
Thanks
Pete.
-
January 18, 2019 at 10:00 am #26093
Hey Pete,
Would you mind sharing the HTML and contact.php file for this?
I really like how you were able to get the validation and ReCaptcha working.
Patrick
-
-
May 18, 2017 at 7:59 am #3056
KGosnellHi Pete,
Can you help me with viewing your source code ?
Many thanks,
Kyle
-
May 18, 2017 at 8:08 am #3057
ERPExpertsHere you go. Notice that the Ampersands in the URL are HTML Encoded (Replace & with & )
Code:
-
May 18, 2017 at 8:41 am #3058
KGosnellHi Pete,
Very much appreciated.
I see this form code is for a Lead Record.
I have this working but looking to do the same with a Custom Record.
Have you been able to use this same methodology to submit and populate a custom record ?
Thanks,
Kyle
-
May 18, 2017 at 8:53 am #3059
ERPExpertsHi Kyle
Yes, simply create an Online Form for the Custom Record, and replicate the fields you want filling in.
Change the Form’s Action to the Custom Record’s Online Form External URL and make sure all the fields in your HTML page have the same ID’s as those in the Custom Record Type.
Thanks
Pete.
-
May 18, 2017 at 10:48 am #3060
KGosnellHi Pete,
Thanks again for your responses. Much appreciated.
I attempted just as you suggested and my code is above.
When I do this with a custom record I get a “invalid record type” error.
Have you done this successfully ? Could I see a sample of the code for a custom record ?
Many thanks,
Kyle
-
May 19, 2017 at 4:49 am #3061
ERPExpertsHi Kyle
If you send me the External URL of your Custom Record Online Form, I’ll show you what you need to do.
Thanks
Pete
-
AuthorPosts
You must be logged in to reply to this topic.