Forum Replies Created
- AuthorPosts
artsolving
Participanthi,
tnx issue resolved !regards
artsolving
Participanthi,
no error on my side.i set the form so you just upload an image on button ” 1 ” on first page. then go on third page where Is the img loaded with the link that should redirect on fourth page.
tnx
- This reply was modified 5 years, 2 months ago by
artsolving.
Attachments:
You must be logged in to view attached files.artsolving
Participanthi,
resolved in this way:
made radio option with 2 choice, give to id element show on div same class of first option setting as default. then give other class on second choice…
in your opinion is a best practice instead to start with an independent class for the div element and changing it on change the option ?tnx
artsolving
Participanthi,
you take wrong field as in image.sorry but even other problems happens. I minified the form for your comprension
it make sense that what I have on CSS editor is different on inspector ?
also when digit the name of the class on editor it becomes underscored ? seems like an invalid name…sure that I haven’t a bug ?
Attachments:
You must be logged in to view attached files.artsolving
Participantsorry,
but I’m very stuck on this.
I tried adding other option to element and type of classes to all option but the problem is on.
everything after the second option isn’t considered at all…artsolving
Participanthi ally,
sorry but the problem remain with radio button not only with fonts but also other styles.example:
CSS:
.normal {
font-size: 14px;
color: black;
}.medium {
font-size: 16px;
color: black;
}.large {
font-size: 24px;
color: black;
}JS:
jQuery(function ($) {
$(‘.quform-field-14_6436’).on(‘change’, function () {
if ($(‘.quform-field-14_6436_1’).is(‘:checked’)) {
$(‘#dida1col, #dida2col, #dida3col’).addClass(‘normal’);
} else {
$(‘#dida1col, #dida2col, #dida3col’).removeClass(‘normal’);
}if ($(‘.quform-field-14_6436_2’).is(‘:checked’)) {
$(‘#dida1col, #dida2col, #dida3col’).addClass(‘medium’);
} else {
$(‘#dida1col, #dida2col, #dida3col’).removeClass(‘medium’);
}if ($(‘.quform-field-14_6436_3’).is(‘:checked’)) {
$(‘#dida1col, #dida2col, #dida3col’).addClass(‘large’);
} else {
$(‘#dida1col, #dida2col, #dida3col’).removeClass(‘large’);
}});
});
Inspector says they take classes but on live quform fields don’t works how classes declare.
maybe a bug on me ?
working with Quform last version + WP 5.4.1 + Avada themetnx
artsolving
Participantalso how do if I want to add another textarea in the form.
standard code:
jQuery(function ($) {
tinymce.on(‘AddEditor’, function () {
tinymce.activeEditor.on(‘init change keyup blur’, function () {
$(‘#another-id’).html(tinymce.activeEditor.getContent());
});$(tinymce.activeEditor.getElement()).on(‘key up blur’, function () {
$(‘#another-id’).html($(this).val());
});
});
})tnx a lot
- This reply was modified 5 years, 2 months ago by
artsolving. Reason: addition
artsolving
Participanthi,
tnx for support.
however I added a function to display an inline editor for a div element.jQuery(function ($) {
tinymce.init({
selector: ‘div#prova’,
inline: true
});});
it open as in image but it works only if I put in the form a textarea with editor enabled.
1) i want only div element in the form its possible ?
2) also I try to display the div content in mail notification and nothing appear if I digit some text inside.use:
jQuery(function ($) {
$(‘#prova’).html(tinymce.inlineEditor.getContent());
$(‘#prova’).html($(this).val());});
but not work.
some tips ?
tnx
Attachments:
You must be logged in to view attached files.artsolving
Participanthi,
sorry but I don’t want apply to the whole theme just the id element.
some font family are charged for ex. Impact and Courier.
maybe the issue depend on how I define the family ?however tnx for your help
artsolving
ParticipantHI,
using @import in Settings > custom CSS have no result.
maybe charging a folder in quform font inside wp-content > plugin > quform ?artsolving
Participantgreat seems working fine.
maybe you know to hide this tabs ?
tnx
Attachments:
You must be logged in to view attached files.artsolving
Participanthi,
checked this too and its same for me but on live shows even a Times font.maybe problem with CSS syntax ?
.roboto {
font-family: “Roboto”;
}.opensans {
font-family: “Open Sans”;
}.raleway {
font-family: “Raleway”;
}tnx
Attachments:
You must be logged in to view attached files.artsolving
Participantartsolving
Participanthi,
tnx but finded an issue related my form, maybe not…want to display to the user the input from a textarea. but the result is always a word next to other so nothing about formatting input as paragraph created, spacer, etc. (so thinking use the duplicate field but not so comfortable for other purpose)
so I use the editor option for the field but what I input do not appear in the front end. maybe I must use an id that’s not the id field ?
supposing that’s work for me (relating to obtain the same formatting input from editor to the result displayed for the user) and if you are in touch with plugin TinyMCE editor what about using this setting instead of the classic wp editor to show the content inside ?demo page: https://viewroom.altervista.org
tnx
Attachments:
You must be logged in to view attached files.artsolving
Participanttnx,
however I don’t find a source for a radio button.with this CSS
.montserrat-font{
font-family: “Montserrat”, sans serif;
}.roboto-font{
font-family: “Roboto”, sans serif;
}.opensans-font{
font-family: “Open Sans”, sans serif;
}.raleway-font{
font-family: “Raleway”, sans serif;
}and this script:
jQuery(function ($) {
$(‘.quform-field-14_5358’).on(‘click’, function () {
if ($(‘.quform-field-14_5358_1’).is(‘:checked’)) {
$(‘#texthead2col’).addClass(‘montserrat-font’);
} else {
$(‘#texthead2col’).removeClass(‘montserrat-font’);
}if ($(‘.quform-field-14_5358_2’).is(‘:checked’)) {
$(‘#texthead2col’).addClass(‘roboto-font’);
} else {
$(‘#texthead2col’).removeClass(‘roboto-font’);
}if ($(‘.quform-field-14_5358_3’).is(‘:checked’)) {
$(‘#texthead2col’).addClass(‘opensans-font’);
} else {
$(‘#texthead2col’).removeClass(‘opensans-font’);
}if ($(‘.quform-field-14_5358_4’).is(‘:checked’)) {
$(‘#texthead2col’).addClass(‘raleway-font’);
} else {
$(‘#texthead2col’).removeClass(‘raleway-font’);
}});
});
no result.
suggestions ?
- This reply was modified 5 years, 2 months ago by
- AuthorPosts