TOPIC:

Issue with '#' 3 weeks 18 hours ago #257775

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Dear Tihana,
I am nearly finished with my form. This is the most important issue still to be open.
Users have free text fields, where it can happen, that they use "#".
Have you been able to investigate this problem?

Thank you and kind regards
Andreas

Please Log in or Create an account to join the conversation.

Issue with '#' 3 weeks 16 hours ago #257782

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 5415
  • Karma: 3
  • Thanks: 386
Hi,

this is combination query + fragment and the part after a hash symbol is treated as a fragment.

Please check this:
stackoverflow.com/questions/3264161/how-...omla/3266538#3266538

Hope this helps

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Issue with '#' 3 weeks 15 hours ago #257791

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Hi,
I am not sure, but what does this got to do with my problem. It is about transfering text form a textfield (which contains #) into a table and afterwards loading the text back into a textfield without interruption at #. I have sent you an example for this.

Please Log in or Create an account to join the conversation.

Issue with '#' 3 weeks 2 hours ago #257807

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 5415
  • Karma: 3
  • Thanks: 386
Hi,

this part of code in your form:
<?php return JRequest::getVar('test1', 'post', JREQUEST_NOTRIM); ?>
will return value of test1 from database based on ID in previous form.

But in your database is combination somevalue#somevalue -> this is combination of query + fragment and the part after a hash symbol is treated as a fragment.
We need to encode this part of code, so in this link from previous form are some examples how to do that.

I will also check this better and come back to you

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Issue with '#' 2 weeks 6 days ago #257885

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Ahh, got it! This is beyond my experience...
I might have user that will use this #, just to illustrate topics. So, it would be absolutely great and mostly appreciated, if you come up with a solution!!!!! :)

Thank you!!!

Please Log in or Create an account to join the conversation.

Last edit: Post by Niederhofer.

Issue with '#' 1 week 1 day ago #258370

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Dear Tihana,
to get a solution I did a practical fast work-around:
with str_replace I changed "#" to "*" before upload into db. So after reload I get the full text and the user is simply not able to place # into text and save it.

That´s it and thank you for your effort!
Kind regards
Andreas

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.052 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!