Markus
Forum Replies Created
-
HOWEVER… This has created a work-around for me.
Because field FITPTeamList].label.indexOf([field FullName].label) DOES work…
providing me with a field that shows either a 0 if there is a match, or a -1 if there is not.
Then I can use your Conditionals to show or hide a separate html field to reveal the “match” “does not match” side of things.
But I don’t think that’s the issue- This reply was modified 8 years, 11 months ago by Markus.
I am noticing in your code though that you only use one double quote. Should there be two?- This reply was modified 8 years, 11 months ago by Markus.
(function(){
if([field FullName].label!=” && [field FITPTeamList].label.indexOf([field FullName].label)!== -1)
return ‘Match’;
return ‘Does not match’;
}())Shucks. It is reporting “undefined” as the result. I was careful to copy the fields carefully into the formula and have double checked it.
Forum: Plugins
In reply to: [Smart Forms - when you need more than just a contact form] InfusionSoftI think that will work! Thank you.
Thank you for the code. That does look close. But though I am not a coding expert, somethings look a bit off with your code above
this section:
return ‘Match’
return ‘Does not match’;just looks like it needs something (a comma, semicolon?) to differentiate between the two.
AND
When I put this code
(function(){
if([field FullName].label!=” && [field FITPProductionTeamList].label.indexOf([field FullName].label)!== -1)
return ‘Match’
return ‘Does not match’;
}())into the formula, I get “An error occurred
SyntaxError: identifier starts immediately after numeric literal”And if I need to put it not into the formula for the value but instead into the main javascript for the form, please include the elements needed to place the value into the third field [field FITPProductionTeamMemberTest].
- This reply was modified 8 years, 11 months ago by Markus.
I have figured out how to hide a field in css, the css is
#id {
display: none;
}Now I just need a way to compare what my user entered against that field, to see if [HiddenField] contains [UserEntry]
- This reply was modified 8 years, 11 months ago by Markus.
And if so, what is the proper syntax to use?
Yes, it is working! Ahhhh, the darn caching thing. Thank you!
Thanks for the fix, but unfortunately the .js file you sent did not do the trick. The error is still occurring.
Thank you, and thank you!
Forum: Plugins
In reply to: [Smart Forms - when you need more than just a contact form] PayPal Add-OnAnd how does the button then work? I don’t understand how we have a donate button in one place and submit button in another. When my user clicks the donate button, are they taken to a new web page, and what happens to the form they were filling out?
Now that I know that I can use my unlimited plan add-ons with my current pro smartforms plan I will keep going for now as is, until I get to a site where it is time for me to upgrade. Only so much work I can get done at once.
But once I do, I will buy the new plan and then ask you to upgrade the old one. Thanks!
Yes this worked perfectly thank you.