Forums

I want to know how to apply these settings

dominusgai 20 Mar, 2017
I will first of all have to thank you for such a wonderful component. I am not too good with php and myql and even though i know the answers might be some where in this forum, the epileptic power situation in my country would not allow me the time to go through the forum for them.
Can you help me with the answers on how to apply these settings or at least link me to the forum topics with the answers.
1) I want to prevent a user from filling a form more than once, how do i do that?
2) In the text area, i want to set word limit where a user can type a minimum of 10 words and maximum of 100 and 250 words. (i am not talking about the normal character limit here)
3) i want to know how to set a submitted form to save in the database and at the same time send it to an email address.
4) I want to know how to make users see the details they filled in the submitted form without being able to edit it(Like a form profile) and finally
5) i want to know how to apply the settings in the picture attached below.
GreyHead 20 Mar, 2017
Answer
Hi dominusgai ,

1. If they are registered users then you can use an Event Switcher in the form ON Load event to check for an existing record in the database table. If one is found then show a message and use a Show Stopper action to stop processing any more - otherwise ehow the form.

2. There is no word counter built in (and counting words can be tricky). You can probably do this with a jQuery wordcounter plug-in - see here for example. This FAQ is for a character counter and will give you some idea how to do it.

3. Use a DB Save action to save it and an Email action to send the email.

4. You can create a form that reads their record from the database table and displays the contents as plain HTML.

5. The Previous button should redirect to the previous form page. You can save to the database table when each page is submitted. To allow editing add a status column to the form. Change the status to 'saved' when the form is finally submitted. Check the status when you read the data - if it is set to save then stop the form processing as in 1. above.

Bob

PS it is more helpful to other users - and you may get fuller answers - if you limit each post to one topic.



Bob
This topic is locked and no more replies can be posted.