Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2542 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I've got a form that using check boxes to update a summary text box with information based on which check boxes have been checked.

However, if one is checked in error and then unchecked I would like to remove the text from the summary text field.

I've tried to use the Substitute the text with just a blank and all it seems to do is keep the text but put it in lower case. I had bullet points but then removed these to see if that would help but didn't

I'm not sure where to go from here. Ideally I would like to keep the bullets but if they need to go that fine.

Any help would be greatly appreciated. :)

TIA

deletetext.thumb.PNG.3cc9eb3569bb693c7130678b611f4a6e.PNG

 

 

 

summarytext.PNG

Posted

From a quick glance, i noticed that your Substitute references $DeleteField and not $DeleteText. Try changing that since you specified $DeleteText in the second step.

  • 2 weeks later...
Posted

Thanks school boy error. I fixed that. However, it still doesn't want to work.

The text within the variable isn't encased in quotes and the substitute needs it to be (tested it with the actual text ). HOw do I get the text to encase in quotes whilst using it in the Substitute string?

Posted

Escape the quotes with a backslash:

Substitute(YourField; "Some Text"; "\"" & $yourVariable & "\"")

Posted

Thank you. I've tried that but it doesn't want to work.

Substitute ( HoDObservations::Overall_Strengths ; "\"" & $DeleteText & "\"" ; "" )

this is the text in the box

A positive learning atmosphere is evident

Students’ pride in their work is evidenced through presentation and work rate in books

Students are motivated and take ownership of their learning

· The teacher follows KBA procedures and ensures that high standards of behaviour are maintained throughout

· Students demonstrate understanding of course content

Posted

See if the attached sample is doing what you want. 

If not, please provide a more detailed description of your problem, with all field and variable contents identified, and expected and actual results.

aguest.fmp12

This topic is 2542 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.