This topic contains 8 replies, has 2 voices, and was last updated by Patrick Haley ☁️ 5 years, 2 months ago.
-
AuthorPosts
-
KGosnell- Contributions: 0
- Level 1
- ☆
Greetings,
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.
================================================== ==============================================
< !DOCTYPE HTML PUBLIC “-//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..
< !DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN">
Custom Record Custom Record Form
-
ERPExperts- Contributions: 0
- Level 1
- ☆
Hi 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.
-
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
-
KGosnell- Contributions: 0
- Level 1
- ☆
Hi Pete,
Can you help me with viewing your source code ?
Many thanks,
Kyle
-
ERPExperts- Contributions: 0
- Level 1
- ☆
Here you go. Notice that the Ampersands in the URL are HTML Encoded (Replace & with & )
Code:
-
KGosnell- Contributions: 0
- Level 1
- ☆
Hi 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
-
ERPExperts- Contributions: 0
- Level 1
- ☆
Hi 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.
-
KGosnell- Contributions: 0
- Level 1
- ☆
Hi 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
-
ERPExperts- Contributions: 0
- Level 1
- ☆
Hi 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.