DMXzone App Connect Support Product Page

Answered

autosubmit for serverconnect-forms --- anyway to delay this.

Asked 07 Mar 2018 08:26:19
1
has this question
07 Mar 2018 08:26:19 Reinhardt Ellis posted:
autosubmit="true" is there a way to delay this? For it to load the serverconnect data first before submitting...?

I have a form that gets data from a "dmx-serverconnect"

eg..

<form action=".....the normal stuff..." method="post" id="insert_history_auto" is="dmx-serverconnect-form" dmx-on:success="browser1.goto('.....the normal stuff...')" autosubmit="true" >
<input name="id" type="text" id="id" dmx-bind:value="{{serverconnect1.data.query1[0].id}}">
<input name="update_date" type="text" id="update_date" dmx-bind:value="{{serverconnect1.data.query1[0].update_date}}">
<input name="nrc_number" type="text" id="nrc_number" dmx-bind:value="{{query.nrc_number}}">

and so on and so on,.,..... say I have 20 fields....

But the problem is the form autosmubits before the data is even loaded into these fields... how do I delay this.. because i dont want my client to click on a submit button all the time.. so make this work.....

Replies

Replied 07 Mar 2018 09:01:16
07 Mar 2018 09:01:16 Teodor Kuduschiev replied:
Hello Reinhardt,
Instead of setting this to autosubmit, just use dynamic events for the serverconnect1 and on success submit the form.
Replied 07 Mar 2018 09:15:04
07 Mar 2018 09:15:04 Reinhardt Ellis replied:
thank you for the quick answer... ill give that a go Thank you Teodor.... always have a good answer

Reply to this topic