mslovak
Forum Replies Created
-
Forum: Plugins
In reply to: [cformsII] Redirection fails after recent update to 15.1submit and redirection problem fixed with 15.1.2
Thank you!
Forum: Plugins
In reply to: [cformsII] Mail send problemI believe this is the same problem I reporte with not redirecting after a submit. The submit never reports finishing but it does take place (i.e. does the update). This continues to be a problem with 15.1.1
- This reply was modified 4 months, 1 week ago by mslovak.
Forum: Plugins
In reply to: [The Events Calendar] Migration problemsHi Abz
Thanks for the guidance. I moved PHP back to 8.0 from 8.1 and the migration worked fine with no errors. Can I safely move back to 8.1?
Thanks
MarcForum: Plugins
In reply to: [cformsII] Words count limits in text boxThank you for your response and suggestion. I tried this:
Presenter Bio for Brochure (50 words or less)|Enter no more than 50 words|^\W*(?:\w+\b\W*){1,50}$|err:Enter no more than 50 words
Which seemed to work perfectly. When I entered more than 50 words it gave me my error. When I entered less than 50 words it passed and posted.
However there seems to be a problem. The data in the field is not posted. I only get blanks even when there are fewer than 50 words.
I first entered 60 words, got an error, reduced it to 40 which posted but I received no text in the field. I next simply entered 10 words and posted but received no text in the field. All other fields post their data so it seems as if when there is a regx that the data isn’t posted, unless I am doing something else wrong. The text above is exactly what is in the field definition.
Thanks in advance for any help.
MarcForum: Plugins
In reply to: [cformsII] Enable alternate form action and admin emailsI responded to your first note by saying that I did read the note which didn’t say anything specific about email notification and implied that if Ajax was implemented that this wasn’t an issue
If you enable an alternative form action you will loose any cforms application logic (spam security, field validation, DB tracking etc.) in non-ajax mode! This setting is really only for developers that require additional capabilities around forwarding of form data and will turn cforms into a front-end only, a “form builder” so to speak.
I’m not sure what you mean by cforms2_after_processing_action. I changed my form to uncheck Alternate form action and checked the following
Enable alternative success page (redirect)
But that didn’t work because the form data wasn’t passed – at least in the same way it was under the other option. I need this feature since I have to add a 3% processing charge to an amount to be sent to Paypal.
Where is the option about cforms2_after_processing_action and is form data passed in the ame way.
Thanks
Thanks for the response Alex,
Here is the post again as you asked for it. I had previous done it this way (first snippet at the top of the page and then just output the input string as a hidden variable in the form. I guess I could just as easily done this as one snippet in the form. You seem to be indicating that the value of the variables in one snippet is not available in other snippets on a page. I can deal with that in this instance but if that is the way this works I would consider that a serious limitation – especially since it worked fine that way before.
Snippet 1 is designed to take some posted data and add 3% to an amount and create an input string that goes into a form as follows:
$amt = $_POST[“cf3_field_7″]; $amt = $amt + (.03 * $amt); $amt = round($amt,2); $theamount = ‘<input type="hidden" name="amount" value="‘.$amt.'">’;The second snippet simply echos $theamount as a line in a form
echo $theamount;However when I do this the input line does not appear in the form and no amount is sent. I looked at the source code and the input statement in $theamount doesn’t appear but instead it renders
<br><br>Forum: Plugins
In reply to: [cformsII] Delete Tracking dataIn a number of posts you’ve made reference to the CFDB plugin. I downloaded and installed it and while I have entries in my tracking database it tells me that there is nothing there. I’m using the latest version of both plugins and I set CFDB to just look at cforms2 data (said no to all of the other forms). Is there something I am missing? I’m not asking you for help with something you didn’t develop but since you have mentioned this a number of times I assumed it would be working. Thanks. I think cforms2 is great and appreciate your effort in keeping this alive.
MarcForum: Plugins
In reply to: [cformsII] Cannot Update Form – Get Blank ScreenI didn’t try your new version but i was able to upgrade to php 5.6 FAST cgi on my host and updates to forms seem to work fine now. Thank you for your attention to this matter. Much appreciated.
Forum: Plugins
In reply to: [cformsII] Cannot Update Form – Get Blank ScreenAlso tried this on Windows 10 and same happens. Any attempt to update the form results in a blank screen. The admin frame and menu appear but the space where the form should be is blank. No updates occur when I go back to form setting. This is what the address bar shows after I click on Save & Update
wp-admin/admin.php?page=cforms2%2Fcforms-options.php#anchorfields