The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Adding a entry to another form without leaving current one
I don't know if I'm missing something, but I would want to know if there is a way to add an entry to another form, but not leaving the one we are currently working on.
I have a form that is dynamically pulling products from another one. Suddenly, I need to add one product (name, price, etc) to the other form, but I don't want to leave the current form, so I would want to, let's say, click a (+) sign besides the dynamic or lookup field and add the new product in a fancy way, then return to the form with the field, already filled with the new item.
Is there already a way to do this? Thanks in advance.
January 2, 2018 at 9:44 am
This would all be custom programming. It's easy enough to add an item to a select box with jQuery, but that doesn't add it to the lookup table. To add to the lookup table and refresh the dropdown, you'd have to create a custom Ajax routine to insert the record, refresh the dropdown, and display the selected option. This is actually quite an advanced programming task, and quite frankly, there's not even enough information in your post to even begin to tell you how to do this.
Depending on how confident you are with your development skills, it could be done in a few hours. If you're under time pressure to complete this task and have never created the jQuery and PHP required for Ajax, I suggest you think strongly about hiring a developer.
January 2, 2018 at 11:43 pm
Thank you, I'm gonna try (not so skilled) and will share if I find out how.
Discussion closed.