Forum Replies Created
- AuthorPosts
vsexmogushiy
ParticipantMany Thanks, it works!
Please tell me 2 more questions:
1. How I can fixe this problem (screenshot)?
2. Which caching plugin can use it with a QForm?Attachments:
You must be logged in to view attached files.vsexmogushiy
ParticipantThank you so much for the answer. You’re one of the best support teams I’ve ever met. With your permission, I will describe my case, I will be immensely grateful for detailed answers.
1. How to write dynamic parameters to me and how best to arrange it for me if I use several 3 – 5 places on my site where the same form is displayed. I add a
div
, and I add a form inside and I can assign each div aclass
and anid
. Approximately by the following construction:<div class="1" id="place_1">[quform id="2" name="XXX"] </div>
.How do I create a dynamic field with this separation?2. How do I add a link to the page from which the form came?
3. Is it possible to determine in some way depending on the screen size from which device the application came. Desktops, Tablets and Phones?
- This reply was modified 1 year, 8 months ago by
vsexmogushiy.
- This reply was modified 1 year, 8 months ago by
vsexmogushiy.
vsexmogushiy
ParticipantThank you very much.
Tell me another question, how is it possible to mark the form if the same form is used in different places on the site. In order to understand which form the user clicked on (header, footer, page body)? Or do you need to create 3 separate forms for these purposes?
vsexmogushiy
Participant1. Yes, I saw it, tell me for my mask, what is the correct regular expression to check +1 (000) 000-00-00? I think the reason is not sending a regular expression.
<abbr title=”HyperText Markup Language”>
add_filter(‘quform_element_valid_1_3’, function ($valid, $value, Quform_Element_Field $element) {
if ( ! preg_match(‘/^\(\d{3}\) \d{3}\-\d{4}$/’, $value)) {
$element->addError(‘Enter a phone number in the format (000) 000-0000’);
$valid = false;
}return $valid;
}, 10, 3);
</abbr>2. How do I send the value from this field also in the same mask? That is, so that it is not +1000000000, but +1 (000) 000-00-00?
3. And a big request to suggest how you can add the sender’s city when sending the form (naturally determined by the ip address)?
- This reply was modified 1 year, 8 months ago by
- AuthorPosts